/* Christmas edition. Scoped to Advent; compact geometry and controls stay intact. */
body.advent-view{--christmas-pine:#174d3d;--christmas-red:#a82e3c;--christmas-gold:#edc978;--christmas-paper:#fff8e9;background-color:#fbf7ee}
body.advent-view .page-intro .advent-title{color:var(--christmas-paper);background-color:var(--christmas-pine);background-image:url('/assets/advent-fir.svg'),url('/assets/advent-bauble.svg');background-position:left 15px center,right 15px center;background-size:64px 90px;background-repeat:no-repeat;border-color:#b79c60;box-shadow:0 4px 0 #dfcfac55;padding-inline:88px;border-radius:24px}
.advent-view .advent-title:before{border-color:#e5c98780;border-radius:19px;inset:6px}
.advent-view .advent-title>strong{color:var(--christmas-gold)}
.advent-view .advent-title>span{font-weight:600}
.advent-view .advent-materials-link{background:#fff9ec;border-color:#dcc695;color:#174d3d;box-shadow:0 2px 0 #e6d6b33d}
.advent-view .advent-materials-link:hover{background:#fff1d3}
.advent-view .advent-materials-link small{color:#69604d}
.advent-view .advent-materials-link .advent-prep-icon{background:#f1e2bd;color:#80612c}
.advent-view .advent-summary{background:#f8e9e5;border-color:#e7c3b9}
.advent-view .advent-progress,.advent-view .advent-progress-label .reset-link{color:#872837}
.advent-view .advent-progress progress,.advent-view .advent-progress progress::-webkit-progress-bar{background:#e5c9bf}
.advent-view .advent-progress progress::-webkit-progress-value{background:#a82e3c}
.advent-view .advent-progress progress::-moz-progress-bar{background:#a82e3c}
.advent-view .advent-tile{--door:#fff4dd;--ink:#7b372b;border-color:#d8bd89;box-shadow:0 3px 0 #c5ad7c22;background:#fffaf0}
.advent-view .advent-tile.tone-1{--door:#174d3d;--ink:#fff5dc;border-color:#386a52}
.advent-view .advent-tile.tone-2{--door:#a82e3c;--ink:#fff5dc;border-color:#bc5260}
.advent-view .advent-tile.tone-3{--door:#e9c575;--ink:#543d25;border-color:#ccaa61}
.advent-view .advent-door:before{opacity:.5;border-color:#e8c77e}
.advent-view .tone-0 .advent-door:before,.advent-view .tone-3 .advent-door:before{border-color:#9c703b;opacity:.3}
.advent-view .advent-door:after{width:42px;height:55px;top:auto;left:auto;right:13px;bottom:13px;border:0;border-radius:0;opacity:.9;background:url('/assets/advent-bauble.svg') center/contain no-repeat}
.advent-view .tone-1 .advent-door:after{background-image:url('/assets/advent-gift.svg');width:40px;height:40px}
.advent-view .tone-2 .advent-door:after{background-image:url('/assets/advent-snowflake.svg');width:38px;height:38px}
.advent-view .tone-3 .advent-door:after{background-image:url('/assets/advent-fir.svg');width:37px;height:52px}
.advent-view .advent-door-number{font-weight:500;text-shadow:0 2px 0 #0000000a}
.advent-view .tone-1 .advent-door-number,.advent-view .tone-2 .advent-door-number{color:#f6d991}
.advent-view .advent-door-month{font-size:11px;letter-spacing:.18em}
.advent-view .advent-reveal{background:#fff9eb;color:#174d3d;border-color:#efdbac;box-shadow:0 3px 0 #00000012}
.advent-view .advent-reveal:focus-visible,.advent-view .advent-materials-link:focus-visible{outline:3px solid #c7983e;outline-offset:4px}
.advent-view .advent-locked{font-size:13px;gap:6px}
.advent-view .advent-tile.is-complete{border-color:#a88036}
.advent-view .advent-tile.is-complete .advent-door{background:#174d3d;color:#fff5dc}
.advent-view .advent-tile.is-complete .advent-door-number{color:#f6d991}
.advent-view .advent-celebration{background:#174d3d;color:#fff5dc;border:1px solid #c4a666}
.advent-view .advent-done input{accent-color:#174d3d}
.advent-view .advent-day-content .advent-done{color:#174d3d}
@media(max-width:600px){body.advent-view .page-intro .advent-title{padding:12px 48px 10px;background-size:38px 65px;background-position:left 8px center,right 8px center;border-radius:22px}.advent-view .advent-title:before{border-radius:17px}.advent-view .advent-title>span{font-size:clamp(22px,5.8vw,28px)}.advent-view .advent-door:after{right:10px;bottom:12px;width:27px;height:37px}.advent-view .tone-1 .advent-door:after,.advent-view .tone-2 .advent-door:after{width:27px;height:27px}.advent-view .tone-3 .advent-door:after{width:27px;height:38px}.advent-view .advent-door-month{font-size:10px;letter-spacing:.13em}.advent-view .advent-locked{font-size:12px}.advent-view .advent-reveal{font-size:12px;padding-inline:8px}}

/* Guest invitation replaces progress; both actions reuse contextual sign-in. */
.advent-view .advent-account-invite{display:grid;gap:8px;padding:14px 18px;background:#fff9ec;border-color:#dcc695;color:#174d3d}
.advent-view .advent-account-invite h2{font:600 18px/1.25 Outfit,Arial,sans-serif;letter-spacing:-.015em;margin:0}
.advent-view .advent-account-invite p{font-size:14px;line-height:1.4;margin:4px 0 0;max-width:none;color:#59634f}
.advent-account-actions{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:4px 14px}
.advent-account-actions>span{font-size:14px;line-height:1.4}
.advent-account-actions button{font:600 14px/1.3 'DM Sans',Arial,sans-serif;cursor:pointer;min-height:44px}
.advent-account-create{display:inline-flex;align-items:center;justify-content:center;gap:10px;background:#174d3d;color:#fff8e9;border:1px solid #174d3d;border-radius:12px;padding:10px 14px}
.advent-account-create .icon{width:18px;height:18px;flex:none}
.advent-account-login{color:#174d3d;background:none;border:0;padding:8px 2px;text-decoration:underline;text-underline-offset:3px}
.advent-account-create:hover{background:#23634f}.advent-account-login:hover{color:#a82e3c}
.advent-account-actions button:focus-visible{outline:3px solid #a87925;outline-offset:3px}
@media(max-width:600px){.advent-view .advent-account-invite{padding:12px 14px;gap:7px}.advent-view .advent-account-invite h2{font-size:17px}.advent-account-actions{justify-content:flex-start;gap:0 12px}.advent-account-actions>span{display:flex;align-items:center;gap:4px}}
