:root{font-family:ui-rounded,"Arial Rounded MT Bold",Nunito,system-ui,-apple-system,sans-serif;color:#23352b;background:#f5f7f2;font-size:16px}*{box-sizing:border-box}body{margin:0}main{max-width:980px;margin:auto;padding:72px 28px 40px}header{margin-bottom:48px}.eyebrow{font-size:.76rem;letter-spacing:.14em;font-weight:750;color:#628269}h1{font-family:ui-rounded,"Arial Rounded MT Bold",Nunito,system-ui,sans-serif;font-weight:800;font-size:clamp(2.8rem,7vw,4.8rem);letter-spacing:-.05em;line-height:1;margin:18px 0;color:#173b29}h1 span,footer span{color:#d57959}header p,.section-heading p{color:#617168;line-height:1.5}section{background:white;border:1px solid #dfe8df;border-radius:16px;box-shadow:0 12px 40px #1d3c2610;overflow:hidden}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:26px 28px}.section-heading h2{font-family:ui-rounded,"Arial Rounded MT Bold",Nunito,system-ui,sans-serif;font-weight:800;font-size:1.5rem;margin:0}.section-heading p{margin:7px 0 0;font-size:.9rem}#save-status{font-size:.8rem;color:#537b5b;text-align:right}#save-status.error{color:#aa3e34}table{width:100%;border-collapse:collapse;text-align:left}th{background:#f8faf7;color:#78877b;font-size:.72rem;text-transform:uppercase;letter-spacing:.09em}th,td{padding:14px 28px;border-top:1px solid #edf1ec}td:first-child{font-weight:650;width:23%}td:nth-child(2){width:27%}select,input{font:inherit;color:#263a2d;border:1px solid #dbe5dc;border-radius:8px;background:#fff;padding:10px 12px;width:100%;min-width:0}select{cursor:pointer;appearance:none;padding-right:32px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%235b7161' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}input:focus,select:focus{outline:2px solid #6f9b77;outline-offset:1px}footer{margin-top:24px;color:#8a998e;font-size:.8rem;text-align:center}@media(max-width:650px){main{padding:45px 16px 30px}header{margin-bottom:30px}.section-heading{padding:22px 18px;align-items:flex-start}th,td{padding:12px 8px}th:first-child,td:first-child{padding-left:14px}th:last-child,td:last-child{padding-right:14px}td:first-child{width:23%;font-size:.88rem;overflow-wrap:anywhere}td:nth-child(2){width:37%}select,input{font-size:.88rem;padding:10px 8px}select{padding-right:22px;background-position:right 7px center}}

/* A little holiday cheer, with controls still front and center. */
body{background:#f8f3ea;background-image:radial-gradient(#e7ddd0 1px,transparent 1px);background-size:22px 22px}
main{padding-top:88px}header{position:relative;text-align:center;margin-bottom:42px}.eyebrow{display:inline-block;background:#e8f0df;color:#46704a;border:1px solid #d5e6cf;border-radius:99px;padding:8px 14px;letter-spacing:.11em}.festive-icon{font-size:2.6rem;transform:rotate(-9deg);margin-bottom:13px}h1{color:#174a35}h1 span{color:#cc493e}header p{font-size:1.04rem;color:#6b7568}section{border:2px solid #d5e2d3;border-radius:22px;box-shadow:0 12px 0 #e6e3d8,0 20px 45px #284d2814}.section-heading h2{color:#1d5238}th{background:#edf5eb;color:#63816a}td{border-color:#edf0e8}select{background-color:#f8fbf6;border-color:#d6e5d4}input{background:#fffdfa;border-color:#e9e4dc}footer{color:#829181}footer span{color:#cc493e}.lights{height:28px;display:flex;justify-content:space-around;overflow:hidden;border-top:4px solid #2c5a3c;background:#f8f3ea}.lights i{position:relative;width:12px;height:17px;border-radius:45% 45% 50% 50%;background:#c94438;box-shadow:0 0 12px #ca4e4370}.lights i:before{content:'';position:absolute;top:-5px;left:3px;width:6px;height:5px;background:#41624b}.lights i:nth-child(3n+2){background:#e2af3e;box-shadow:0 0 12px #e2af3e80}.lights i:nth-child(3n){background:#4b8a60;box-shadow:0 0 12px #4b8a6080}@media(max-width:650px){main{padding-top:45px}.festive-icon{font-size:2.1rem}header{margin-bottom:30px}.eyebrow{font-size:.68rem}section{border-radius:16px}.section-heading h2{font-size:1.25rem}.lights i:nth-child(even){display:none}}
/* Give notes more room to read and edit. */
td:first-child{width:20%}td:nth-child(2){width:25%}td:last-child{width:55%}td input{min-height:48px;font-size:1rem}
@media(max-width:650px){td:first-child{width:22%}td:nth-child(2){width:34%}td:last-child{width:44%}td input{min-height:46px;font-size:1rem}}
/* Snowfall and a richer Christmas-red palette. */
body{background-color:#f8eeee;background-image:radial-gradient(circle,#fff 2px,transparent 2.5px),radial-gradient(circle,#fff 3px,transparent 3.5px),radial-gradient(circle,#efdada 1px,transparent 1.5px);background-size:58px 62px,105px 110px,22px 22px;background-position:0 0,29px 35px,0 0}
body::before,body::after{content:'';position:fixed;inset:-120px 0 0;z-index:-1;pointer-events:none;background-image:radial-gradient(circle,#fff 2px,transparent 3px),radial-gradient(circle,#fff 3px,transparent 4px);background-size:85px 95px,145px 155px;background-position:0 0,45px 60px;animation:snowfall 18s linear infinite}
body::after{opacity:.65;background-size:125px 135px,190px 200px;animation-duration:26s;animation-delay:-8s}
@keyframes snowfall{to{transform:translateY(120px)}}
h1{color:#a7292c}.section-heading h2{color:#9e292e}section{border-color:#e7c7c5;box-shadow:0 12px 0 #eadbda,0 20px 45px #792c2c14}th{background:#fbefed;color:#9e5553}select{background-color:#fffaf8;border-color:#e9d1cc}input{border-color:#ead6d2}input:focus,select:focus{outline-color:#bf4546}.lights{background:#f8eeee;border-top-color:#a6292d}.lights i:nth-child(3n){background:#b12f37;box-shadow:0 0 12px #b12f3770}
@media(prefers-reduced-motion:reduce){body::before,body::after{animation:none}}
.radar{position:relative;width:104px;height:104px;margin:0 auto 20px;overflow:hidden;border:2px solid #b52e36;border-radius:50%;background:repeating-radial-gradient(circle,#fff8f4 0 23px,#eabbb7 24px 25px),#fff8f4;box-shadow:0 0 0 7px #b52e3610,0 0 0 14px #b52e3608;animation:radar-pulse 3s ease-in-out infinite}
.radar:before,.radar:after{content:'';position:absolute;z-index:1;background:#c7535544}.radar:before{width:1px;height:100%;left:50%}.radar:after{height:1px;width:100%;top:50%}.radar-sweep{position:absolute;inset:0;border-radius:50%;background:conic-gradient(from 0deg,transparent 0deg,transparent 275deg,#d4474938 355deg,#c4373d88 360deg);animation:radar-turn 4s linear infinite}.radar-gift{position:absolute;z-index:2;font-size:19px;animation:radar-detect 4s ease-in-out infinite}.gift-one{top:17%;left:55%;animation-delay:-.5s}.gift-two{top:56%;left:62%;font-size:15px;animation-delay:-1.7s}.gift-three{top:55%;left:18%;font-size:16px;animation-delay:-3s}@keyframes radar-turn{to{transform:rotate(360deg)}}@keyframes radar-pulse{50%{box-shadow:0 0 0 10px #b52e3610,0 0 0 19px #b52e3608}}@keyframes radar-detect{0%,100%{opacity:.5;transform:scale(.85)}35%,55%{opacity:1;transform:scale(1.12)}}@media(prefers-reduced-motion:reduce){.radar,.radar-sweep,.radar-gift{animation:none}.radar-gift{opacity:1}}
/* Keep the falling snow above the background and behind the content. */
body{position:relative;isolation:isolate}body::before,body::after{z-index:0;inset:-200px 0 0;background-image:radial-gradient(circle,#fff 2px,transparent 3px),radial-gradient(circle,#fff 3px,transparent 4px);background-size:100px 100px,200px 200px;animation-name:snowfall-visible}main,.lights{position:relative;z-index:1}@keyframes snowfall-visible{to{transform:translateY(200px)}}@media(prefers-reduced-motion:reduce){body::before,body::after{animation:none}}
.section-heading .radar{width:64px;height:64px;flex:0 0 64px;margin:0 8px 0 0;background:repeating-radial-gradient(circle,#fff8f4 0 14px,#eabbb7 15px 16px)}.section-heading .radar-gift{font-size:12px}.section-heading .gift-two,.section-heading .gift-three{font-size:10px}.section-heading>div:nth-child(2){flex:1}@media(max-width:650px){.section-heading{align-items:center;gap:10px}.section-heading .radar{width:48px;height:48px;flex-basis:48px;margin:0}.section-heading .radar-gift{font-size:10px}.section-heading .gift-two,.section-heading .gift-three{font-size:8px}.section-heading #save-status{max-width:85px}}
/* Mobile-first rows: identity and status above a full-width note. */
.section-heading{gap:20px}.section-heading .radar{margin-right:8px}textarea{display:block;width:100%;min-width:0;min-height:68px;resize:vertical;font:inherit;line-height:1.45;color:#263a2d;background:#fffdfa;border:1px solid #ead6d2;border-radius:8px;padding:10px 12px}textarea:focus{outline:2px solid #bf4546;outline-offset:1px}textarea::placeholder{color:#78877b}
@media(max-width:650px){.section-heading{display:grid;grid-template-columns:48px minmax(0,1fr);gap:12px 18px;align-items:center}.section-heading .radar{grid-row:1 / 3;margin-right:0}.section-heading>div:nth-child(2){min-width:0}.section-heading #save-status{grid-column:2;max-width:none;text-align:left}.table-wrap table,.table-wrap tbody,.table-wrap tr,.table-wrap td{display:block;width:100%}.table-wrap thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.table-wrap tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:10px 14px;padding:18px;border-top:1px solid #edf0e8}.table-wrap td,.table-wrap td:first-child,.table-wrap td:nth-child(2),.table-wrap td:last-child{width:auto;padding:0;border:0}.table-wrap td:first-child{align-self:center;font-size:1rem}.table-wrap td:last-child{grid-column:1 / -1}.table-wrap textarea{min-height:68px;font-size:1rem}.table-wrap select{font-size:1rem;min-height:46px}}

/* Participant names have distinct colors; row backgrounds remain uniform. */
tbody tr:nth-child(12n+1) td:first-child{color:#a32932}tbody tr:nth-child(12n+2) td:first-child{color:#8b4b12}tbody tr:nth-child(12n+3) td:first-child{color:#53691d}tbody tr:nth-child(12n+4) td:first-child{color:#14643d}tbody tr:nth-child(12n+5) td:first-child{color:#066a70}tbody tr:nth-child(12n+6) td:first-child{color:#305a9a}tbody tr:nth-child(12n+7) td:first-child{color:#664499}tbody tr:nth-child(12n+8) td:first-child{color:#a3326b}tbody tr:nth-child(12n+9) td:first-child{color:#ad451e}tbody tr:nth-child(12n+10) td:first-child{color:#756000}tbody tr:nth-child(12n+11) td:first-child{color:#28734f}tbody tr:nth-child(12n+12) td:first-child{color:#385d78}
/* Compact single-line participant rows, including on mobile. */
textarea{min-height:44px;height:44px;resize:vertical;line-height:1.35;padding:9px 10px}
@media(max-width:650px){.table-wrap tr{grid-template-columns:minmax(65px,.8fr) minmax(112px,1.35fr) minmax(100px,1.4fr);gap:8px;padding:12px 10px;align-items:center}.table-wrap td:last-child{grid-column:auto}.table-wrap td:first-child{font-size:.85rem;overflow-wrap:anywhere}.table-wrap select{min-height:44px;font-size:.82rem;padding-left:6px;padding-right:20px}.table-wrap textarea{min-height:44px;height:44px;font-size:.9rem;padding:9px 8px}}
header h1{font-size:clamp(2.4rem,6vw,4rem);margin:14px 0 0}.eyebrow{background:#fff8f6;border-color:#eccac6;color:#a32932}
/* Leave more room for notes in the compact row. */
@media(max-width:650px){.table-wrap tr{grid-template-columns:minmax(62px,.8fr) minmax(100px,1.15fr) minmax(112px,1.55fr)}}
