/* Celebration layers preserve geometry, click targets and print output. */
body[data-holiday-theme],body.personal-birthday-theme{--party-motif:url('holiday-decor.svg#star');--party-tone:#b29459}
body[data-holiday-theme="winter"]{--party-motif:url('holiday-decor.svg#tree');--party-tone:#64836b}
body[data-holiday-theme="christmas"]{--party-motif:url('holiday-decor.svg#star');--party-tone:#a68b4f}
body[data-holiday-theme="hearts"]{--party-motif:url('holiday-decor.svg#heart');--party-tone:#a96d72}
body[data-holiday-theme="flags"]{--party-motif:url('holiday-decor.svg#flag');--party-tone:#7f8b9d}
body[data-holiday-theme="flowers"]{--party-motif:url('holiday-decor.svg#flower');--party-tone:#a57980}
body[data-holiday-theme="daisies"]{--party-motif:url('holiday-decor.svg#daisy');--party-tone:#9b9862}
body[data-holiday-theme="books"]{--party-motif:url('holiday-decor.svg#book');--party-tone:#a68c60}
body[data-holiday-theme="cats"]{--party-motif:url('holiday-decor.svg#cat');--party-tone:#9c7c65}
body[data-holiday-theme="space"]{--party-motif:url('holiday-decor.svg#planet');--party-tone:#6c809a}
body[data-holiday-theme="victory"]{--party-motif:url('holiday-decor.svg#dove');--party-tone:#a77d54}
body[data-holiday-theme="city"]{--party-motif:url('holiday-decor.svg#city');--party-tone:#798c83}
body[data-holiday-theme="halloween"]{--party-motif:url('holiday-decor.svg#pumpkin');--party-tone:#af824f}
body[data-holiday-theme="easter"]{--party-motif:url('holiday-decor.svg#egg');--party-tone:#aa7c87}
body[data-holiday-theme="sun"]{--party-motif:url('holiday-decor.svg#sun');--party-tone:#b79b50}
body[data-holiday-theme="balloons"],body.personal-birthday-theme{--party-motif:url('apartment-balloons.svg');--party-tone:#b08f59}
body:is([data-holiday-theme],.personal-birthday-theme) .header{box-shadow:inset 0 3px var(--party-tone)}
body:is([data-holiday-theme],.personal-birthday-theme) :is(.header nav a,.button,.filters a,.office-actions a){position:relative;isolation:isolate;box-shadow:inset 0 -2px color-mix(in srgb,var(--party-tone) 45%,transparent);outline-color:var(--party-tone)}
body:is([data-holiday-theme],.personal-birthday-theme) :is(.header nav a,.button,.filters a,.office-actions a)::after{content:"";position:absolute;inset:2px;pointer-events:none;z-index:-1;background-image:var(--party-motif),var(--party-motif);background-position:4px center,right 4px center;background-repeat:no-repeat;background-size:34px 44px;opacity:.22;transition:transform .25s,opacity .25s}
body:is([data-holiday-theme],.personal-birthday-theme) :is(.header nav a,.button,.filters a,.office-actions a):hover::after{transform:rotate(-3deg) scale(1.08);opacity:.38}
body.personal-birthday-theme::before{content:"";position:fixed;inset:0 0 auto;height:46px;background:url('celebration-ribbon.svg') top center/360px 48px repeat-x;pointer-events:none;z-index:5;opacity:.85}
.birthday-bouquet-middle-left{left:-32px;top:46%;width:82px;transform:rotate(12deg)}.birthday-bouquet-top-right{right:-8px;top:100px;transform:rotate(12deg)}.birthday-bouquet-bottom-left{left:4px;bottom:-65px;transform:rotate(-12deg)}.birthday-bouquet-middle-right{right:-36px;top:48%;width:84px;transform:rotate(-12deg)}
.holiday-edge{top:8%;bottom:7%;width:84px;opacity:.86}.holiday-edge img{width:64px;height:76px;flex:0 1 auto;min-height:0}.holiday-edge img:nth-child(even){transform:rotate(12deg)}.holiday-edge img:nth-child(odd){transform:rotate(-9deg)}
body[data-holiday-theme="halloween"] .header{background-image:url('holiday-decor.svg#web'),url('holiday-decor.svg#web');background-position:top left,top right;background-repeat:no-repeat;background-size:90px 90px}
body[data-holiday-theme="winter"] .header{background-image:radial-gradient(circle,#dbe5e0 1.5px,transparent 2px);background-size:27px 27px}
@media(max-width:1450px){.holiday-edge{width:40px}.holiday-edge img{width:40px;height:58px}}
@media(max-width:700px){body.personal-birthday-theme::before{height:32px;background-size:260px 35px}.birthday-bouquet-middle-left,.birthday-bouquet-middle-right{width:36px;top:58%}.birthday-bouquet-top-right{width:54px;top:70px;right:-18px}.birthday-bouquet-bottom-left{width:48px;left:-20px;bottom:-30px}.holiday-edge{display:flex;width:24px;top:12%;bottom:5%;opacity:.6}.holiday-edge img{width:24px;height:40px}.holiday-left{left:-7px}.holiday-right{right:-7px}body:is([data-holiday-theme],.personal-birthday-theme) :is(.header nav a,.button,.filters a)::after{background-size:25px 34px;opacity:.2}}
@media(prefers-reduced-motion:reduce){body:is([data-holiday-theme],.personal-birthday-theme) :is(.header nav a,.button,.filters a,.office-actions a)::after{transition:none;transform:none}}
@media print{.personal-birthday-decor,body.personal-birthday-theme::before,.holiday-decoration{display:none!important}body:is([data-holiday-theme],.personal-birthday-theme) :is(.header nav a,.button,.filters a,.office-actions a)::after{display:none!important}}
