:root{font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#152b43;background:#f3f6fa;font-synthesis:none;--blue:#003f87;--gold:#ffcc00;--muted:#53667b;--border:#ccd8e5}*{box-sizing:border-box}body{margin:0;min-height:100dvh}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.65}a{color:var(--blue)}.masthead{background:var(--blue);border-bottom:6px solid var(--gold);padding:23px 24px}.masthead>a{max-width:900px;margin:auto;display:flex;align-items:center;gap:13px;color:white;text-decoration:none;width:fit-content}.pack-mark{display:grid;place-items:center;border:2px solid var(--gold);border-radius:12px;width:55px;height:55px;font-weight:900;font-size:24px;color:var(--gold)}.masthead strong{display:block;font-size:20px;letter-spacing:.09em}.masthead small{display:block;font-size:12px;font-weight:700;letter-spacing:.22em;margin-top:4px}main{max-width:496px;margin:34px auto 0;padding:0 18px}main.wide{max-width:850px}.card{background:white;border:1px solid #e0e7ef;border-radius:22px;padding:28px;box-shadow:0 5px 24px #15364f08}h1{font-size:32px;letter-spacing:-.035em;line-height:1.12;margin:0 0 12px;font-weight:800}h2{font-size:22px;letter-spacing:-.02em;margin:0 0 18px}p{line-height:1.5;margin:0 0 22px;color:var(--muted)}.eyebrow{text-transform:uppercase;letter-spacing:.1em;font-size:13px;font-weight:800;color:var(--blue);margin-bottom:12px}.primary,.secondary,.quiet{border:0;min-height:54px;padding:14px 20px;border-radius:12px;font-weight:750;text-align:center;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px}.primary{background:var(--blue);color:white;width:100%}.primary:hover{background:#002e64}.secondary{background:#eaf0f7;color:var(--blue);width:100%}.quiet{background:transparent;color:var(--blue);min-height:44px;font-size:15px}.primary:focus-visible,.secondary:focus-visible,.quiet:focus-visible,a:focus-visible{outline:3px solid #e29c00;outline-offset:3px}label.field{font-weight:700;font-size:15px;display:block;margin:20px 0 8px}input[type=tel],input[type=email],input[type=text],input[type=date],select{width:100%;border:2px solid var(--border);padding:15px;border-radius:12px;background:#fff;color:#152b43;min-height:55px;font-size:18px}input:focus,select:focus{outline:3px solid #ffe684;border-color:var(--blue)}input.code{font-size:28px;letter-spacing:.2em;font-variant-numeric:tabular-nums}.hint{font-size:14px;margin-top:10px;margin-bottom:22px}.notice{padding:13px 16px;background:#fff5c9;color:#624700;border:1px solid #eed47b;border-radius:12px;font-size:14px;line-height:1.45;margin-bottom:22px}.demo-badge{background:#fff2b1;color:#594500;border-radius:8px;padding:9px 12px;font-size:13px;font-weight:750;margin-bottom:16px;text-align:center}.divider{border-top:1px solid #e2e9f0;margin:25px 0 18px}.error{padding:12px 14px;background:#fff0ee;color:#9d261d;border-radius:10px;margin:15px 0;font-size:15px;line-height:1.4}.error:empty{display:none}.scouts{display:grid;gap:12px;margin:23px 0}.scout{display:flex;align-items:center;gap:14px;padding:18px 16px;min-height:83px;border:2px solid var(--border);border-radius:14px;cursor:pointer}.scout:has(input:checked){background:#eff6ff;border-color:var(--blue)}.scout:has(input:disabled){background:#f0f7f3;border-color:#cce3d3;cursor:default}.scout input{accent-color:var(--blue);width:25px;height:25px;margin:0;flex-shrink:0}.scout strong{display:block;font-size:21px}.scout small{display:block;color:var(--muted);font-size:14px;margin-top:3px}.checked-label{margin-left:auto;color:#23623e;font-size:13px;font-weight:750}.meeting-date{display:block;font-size:15px;color:var(--muted);margin-top:6px}.bottom-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin-top:15px}.success{text-align:center}.success-mark{width:76px;height:76px;background:#e2f4e8;border-radius:50%;display:grid;place-items:center;margin:5px auto 25px;font-size:42px;font-weight:700;color:#247246}.success h1{font-size:34px}.success .names{color:var(--blue);font-weight:750;font-size:23px;margin-bottom:12px}.success p{margin-bottom:12px}.success .primary{margin-top:20px}footer{text-align:center;font-size:13px;color:#64778b;padding:30px 16px}.leader-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.leader-top .quiet{padding:5px 0}.leader-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:18px}.leader-grid .card{padding:24px}.leader-grid .full{grid-column:1/-1}.stats{font-size:42px;font-weight:850;color:var(--blue);letter-spacing:-.04em;margin:20px 0 0}.stats small{font-size:16px;font-weight:500;letter-spacing:0;color:var(--muted)}.list-row{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #e2e9f0;padding:15px 0;gap:10px}.list-row strong{display:block;font-size:17px}.list-row small{font-size:14px;color:var(--muted)}.pill{background:#e5f3e9;color:#226140;padding:5px 9px;border-radius:20px;font-size:13px;font-weight:700;white-space:nowrap}.stack{display:grid;gap:12px}.stack .field{margin-top:4px}details summary{cursor:pointer;font-size:17px;font-weight:750;padding:4px 0}details[open] summary{margin-bottom:16px}input[type=file]{display:block;max-width:100%;font-size:14px;margin:18px 0}.file-note{font-size:14px;word-break:break-word}.inline-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px}.inline-actions>*{flex:1;min-width:120px}.muted{color:var(--muted);font-size:14px}.empty{padding:25px 0 8px}.spaced{margin-top:16px}.nowrap{white-space:nowrap}@media(max-width:600px){.leader-grid{grid-template-columns:1fr}.leader-grid .full{grid-column:auto}}@media(max-width:380px){.card{padding:22px}h1{font-size:29px}.scout{padding:16px 12px}.checked-label{max-width:70px}}@media(prefers-reduced-motion:no-preference){.card{animation:appear .2s ease-out}@keyframes appear{from{opacity:.6;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}

.guest-contact{font-size:14px;margin:9px 0 0;overflow-wrap:anywhere}.guest-contact+small{display:block}

.legal h2{margin-top:25px}.consent{display:block;line-height:1.5}.consent input{width:22px;height:22px;vertical-align:middle;accent-color:var(--blue)}

/* Lightweight, one-shot Cub Scout colors. Never blocks the Done button. */
.card.success{position:relative;overflow:hidden}
.checkin-confetti{position:absolute;inset:0;pointer-events:none;user-select:none;overflow:hidden;border-radius:inherit}
.checkin-confetti i{position:absolute;top:-14px;width:8px;height:13px;background:#ffcc00;opacity:0}
.checkin-confetti i:nth-child(3n){background:#003f87}
.checkin-confetti i:nth-child(3n+1){background:#66a6df;width:7px;height:7px;border-radius:50%}
@media(prefers-reduced-motion:no-preference){
 .celebrating .success-mark{animation:checkin-pop .65s cubic-bezier(.2,.8,.3,1) both}
 .checkin-confetti i{animation:checkin-confetti 1.65s ease-out both}
 @keyframes checkin-pop{0%{transform:scale(.55) rotate(-12deg)}55%{transform:scale(1.12) rotate(5deg)}80%{transform:scale(.97) rotate(-2deg)}100%{transform:scale(1) rotate(0)}}
 @keyframes checkin-confetti{0%{opacity:0;transform:translate3d(0,-10px,0) rotate(0)}12%{opacity:.85}72%{opacity:.7}100%{opacity:0;transform:translate3d(var(--drift),310px,0) rotate(var(--spin))}}
}
@media(prefers-reduced-motion:reduce){.checkin-confetti{display:none}}
.checkin-confetti i:nth-child(1){left:39%;--drift:-26px;--spin:177deg;animation-delay:0.055s;}
.checkin-confetti i:nth-child(2){left:76%;--drift:-7px;--spin:-194deg;animation-delay:0.110s;}
.checkin-confetti i:nth-child(3){left:17%;--drift:12px;--spin:211deg;animation-delay:0.165s;}
.checkin-confetti i:nth-child(4){left:54%;--drift:31px;--spin:-228deg;animation-delay:0.220s;}
.checkin-confetti i:nth-child(5){left:91%;--drift:-41px;--spin:245deg;animation-delay:0.275s;}
.checkin-confetti i:nth-child(6){left:32%;--drift:-22px;--spin:-262deg;animation-delay:0.000s;}
.checkin-confetti i:nth-child(7){left:69%;--drift:-3px;--spin:279deg;animation-delay:0.055s;}
.checkin-confetti i:nth-child(8){left:10%;--drift:16px;--spin:-296deg;animation-delay:0.110s;}
.checkin-confetti i:nth-child(9){left:47%;--drift:35px;--spin:313deg;animation-delay:0.165s;}
.checkin-confetti i:nth-child(10){left:84%;--drift:-37px;--spin:-330deg;animation-delay:0.220s;}
.checkin-confetti i:nth-child(11){left:25%;--drift:-18px;--spin:347deg;animation-delay:0.275s;}
.checkin-confetti i:nth-child(12){left:62%;--drift:1px;--spin:-364deg;animation-delay:0.000s;}
.checkin-confetti i:nth-child(13){left:3%;--drift:20px;--spin:381deg;animation-delay:0.055s;}
.checkin-confetti i:nth-child(14){left:40%;--drift:39px;--spin:-398deg;animation-delay:0.110s;}
.checkin-confetti i:nth-child(15){left:77%;--drift:-33px;--spin:415deg;animation-delay:0.165s;}
.checkin-confetti i:nth-child(16){left:18%;--drift:-14px;--spin:-432deg;animation-delay:0.220s;}
.checkin-confetti i:nth-child(17){left:55%;--drift:5px;--spin:449deg;animation-delay:0.275s;}
.checkin-confetti i:nth-child(18){left:92%;--drift:24px;--spin:-466deg;animation-delay:0.000s;}
.checkin-confetti i:nth-child(19){left:33%;--drift:43px;--spin:483deg;animation-delay:0.055s;}
.checkin-confetti i:nth-child(20){left:70%;--drift:-29px;--spin:-500deg;animation-delay:0.110s;}
.checkin-confetti i:nth-child(21){left:11%;--drift:-10px;--spin:517deg;animation-delay:0.165s;}
.checkin-confetti i:nth-child(22){left:48%;--drift:9px;--spin:-534deg;animation-delay:0.220s;}
.checkin-confetti i:nth-child(23){left:85%;--drift:28px;--spin:551deg;animation-delay:0.275s;}
.checkin-confetti i:nth-child(24){left:26%;--drift:-44px;--spin:-568deg;animation-delay:0.000s;}

footer nav{display:flex;justify-content:center;flex-wrap:wrap;gap:4px 16px;margin-bottom:12px}footer nav a{display:inline-flex;align-items:center;min-height:44px;font-size:14px}#sms-help{scroll-margin-top:24px}
