/* Sharing the Moment FIXED97 — dynamic job-specific working-invitation theme layer. */
:root{
  --stm-job-primary:#5f665d;--stm-job-secondary:#8b9188;--stm-job-accent:#7b876f;
  --stm-job-surface:#fffdf9;--stm-job-surface2:#f2eee8;--stm-job-text:#29251f;--stm-job-muted:#746e66;--stm-job-border:#c7c0b4;
  --stm-theme-edge-opacity:.18;--stm-theme-card-alpha:94%;--stm-theme-ornament-alpha:.34;
}
body[data-stm-working-theme]{--accent:var(--stm-job-primary);--paper:var(--stm-job-surface);--soft:var(--stm-job-surface2);--ink:var(--stm-job-text);background:var(--stm-job-surface2)!important;color:var(--stm-job-text)!important}
body[data-stm-working-theme] .event-shell{background:var(--stm-job-surface2)!important}
body[data-stm-working-theme] .guest-app-bar,body[data-stm-working-theme] .event-menu-wrap{background:color-mix(in srgb,var(--stm-job-surface) 91%,transparent)!important;border-color:color-mix(in srgb,var(--stm-job-border) 76%,transparent)!important;box-shadow:0 8px 28px color-mix(in srgb,var(--stm-job-text) 7%,transparent)!important;backdrop-filter:blur(16px) saturate(1.06)}
body[data-stm-working-theme] .guest-app-bar small,body[data-stm-working-theme] .event-menu-head span,body[data-stm-working-theme] .event-eyebrow{color:var(--stm-job-primary)!important}
body[data-stm-working-theme] .guest-app-bar>span{background:color-mix(in srgb,var(--stm-job-surface2) 78%,var(--stm-job-surface))!important;border-color:color-mix(in srgb,var(--stm-job-border) 62%,transparent)!important;color:var(--stm-job-muted)!important}
body[data-stm-working-theme] .event-nav{background:color-mix(in srgb,var(--stm-job-surface) 86%,transparent)!important;color:var(--stm-job-text)!important;border-color:color-mix(in srgb,var(--stm-job-border) 72%,transparent)!important;box-shadow:0 5px 15px color-mix(in srgb,var(--stm-job-text) 5%,transparent)!important}
body[data-stm-working-theme] .event-nav:hover{background:color-mix(in srgb,var(--stm-job-accent) 10%,var(--stm-job-surface))!important;border-color:color-mix(in srgb,var(--stm-job-primary) 46%,var(--stm-job-border))!important}
body[data-stm-working-theme] .event-nav.active{background:var(--stm-job-primary)!important;border-color:var(--stm-job-primary)!important;color:#fff!important;box-shadow:0 9px 22px color-mix(in srgb,var(--stm-job-primary) 28%,transparent)!important}
body[data-stm-working-theme] .event-stage{background:var(--stm-job-surface2)!important}
body[data-stm-working-theme] .event-panel{min-height:calc(100dvh - 138px)!important;padding-top:clamp(34px,6vh,72px)!important;padding-bottom:clamp(48px,8vh,96px)!important}
body[data-stm-working-theme] .event-panel{isolation:isolate;background:
 radial-gradient(circle at 50% -5%,color-mix(in srgb,var(--stm-job-accent) 12%,transparent),transparent 30%),
 radial-gradient(circle at 6% 75%,color-mix(in srgb,var(--stm-job-secondary) 10%,transparent),transparent 25%),
 radial-gradient(circle at 95% 30%,color-mix(in srgb,var(--stm-job-primary) 9%,transparent),transparent 24%),
 linear-gradient(145deg,color-mix(in srgb,var(--stm-job-surface2) 90%,white),var(--stm-job-surface2))!important}
body[data-stm-working-theme] .event-panel>*{position:relative;z-index:2}
body[data-stm-working-theme] .content-card,body[data-stm-working-theme] .custom-invitation-companion94{overflow:hidden;background:linear-gradient(165deg,color-mix(in srgb,var(--stm-job-surface) var(--stm-theme-card-alpha),transparent),color-mix(in srgb,var(--stm-job-surface2) 88%,var(--stm-job-surface)))!important;border:1px solid color-mix(in srgb,var(--stm-job-border) 88%,transparent)!important;color:var(--stm-job-text)!important;box-shadow:0 30px 76px color-mix(in srgb,var(--stm-job-text) 15%,transparent)!important;backdrop-filter:blur(3px)}
body[data-stm-working-theme] .content-card:after{border-color:color-mix(in srgb,var(--stm-job-primary) 18%,var(--stm-job-border))!important}
body[data-stm-working-theme] .detail-grid>div,body[data-stm-working-theme] .event-note-block,body[data-stm-working-theme] .event-inline-note,body[data-stm-working-theme] .capacity-note,body[data-stm-working-theme] .custom-invitation-facts94>div,body[data-stm-working-theme] .gallery-upload95{background:color-mix(in srgb,var(--stm-job-surface2) 78%,var(--stm-job-surface))!important;border-color:color-mix(in srgb,var(--stm-job-border) 84%,transparent)!important;color:var(--stm-job-text)!important}
body[data-stm-working-theme] .event-lead,body[data-stm-working-theme] .custom-invitation-subtitle94,body[data-stm-working-theme] .custom-invitation-note94{color:var(--stm-job-muted)!important}
body[data-stm-working-theme] .event-button{background:var(--stm-job-primary)!important;border-color:var(--stm-job-primary)!important;color:#fff!important;box-shadow:0 10px 24px color-mix(in srgb,var(--stm-job-primary) 24%,transparent)!important}
body[data-stm-working-theme] .event-button--secondary{background:color-mix(in srgb,var(--stm-job-surface) 88%,transparent)!important;color:var(--stm-job-text)!important;border-color:color-mix(in srgb,var(--stm-job-border) 90%,transparent)!important;box-shadow:none!important}
body[data-stm-working-theme] .rsvp-form input,body[data-stm-working-theme] .rsvp-form select,body[data-stm-working-theme] .rsvp-form textarea,body[data-stm-working-theme] .concierge-form input,body[data-stm-working-theme] .gallery-upload95 input{background:color-mix(in srgb,var(--stm-job-surface) 95%,transparent)!important;color:var(--stm-job-text)!important;border-color:color-mix(in srgb,var(--stm-job-border) 92%,transparent)!important}
body[data-stm-working-theme] .concierge-quick-prompts button,body[data-stm-working-theme] .gallery-empty-state95,body[data-stm-working-theme] .concierge-answer{background:linear-gradient(145deg,color-mix(in srgb,var(--stm-job-surface2) 78%,var(--stm-job-surface)),color-mix(in srgb,var(--stm-job-surface) 92%,transparent))!important;border-color:color-mix(in srgb,var(--stm-job-border) 82%,transparent)!important;color:var(--stm-job-text)!important}
body[data-stm-working-theme] .gallery-keepsake-badge95,body[data-stm-working-theme] .concierge-live-status95{background:color-mix(in srgb,var(--stm-job-accent) 12%,var(--stm-job-surface))!important;border-color:color-mix(in srgb,var(--stm-job-accent) 34%,var(--stm-job-border))!important;color:var(--stm-job-primary)!important}

/* Use the approved invitation artwork itself as a job-specific atmosphere source, cropped to the side rails so shell text remains clean. */
@media(min-width:920px){
 body[data-stm-working-theme][data-stm-artwork="1"] .event-panel:before,body[data-stm-working-theme][data-stm-artwork="1"] .event-panel:after{content:"";position:absolute;z-index:0;top:0;bottom:0;width:min(38vw,560px);pointer-events:none;background-image:linear-gradient(to right,color-mix(in srgb,var(--stm-job-surface2) 18%,transparent),color-mix(in srgb,var(--stm-job-surface2) 88%,transparent)),var(--stm-art-backdrop);background-repeat:no-repeat;background-size:auto 118%;opacity:var(--stm-theme-edge-opacity);filter:saturate(1.08) contrast(1.04)}
 body[data-stm-working-theme][data-stm-artwork="1"] .event-panel:before{left:0;background-position:18% 50%;mask-image:linear-gradient(to right,#000 0 54%,transparent 100%)}
 body[data-stm-working-theme][data-stm-artwork="1"] .event-panel:after{right:0;background-image:linear-gradient(to left,color-mix(in srgb,var(--stm-job-surface2) 18%,transparent),color-mix(in srgb,var(--stm-job-surface2) 88%,transparent)),var(--stm-art-backdrop);background-position:82% 50%;mask-image:linear-gradient(to left,#000 0 54%,transparent 100%)}
}

/* Theme-family environments. These change the whole viewport while preserving the same working functionality. */
body[data-stm-working-theme="woodland"]{--stm-theme-edge-opacity:.76;--stm-theme-card-alpha:94%;--stm-theme-ornament-alpha:.46}
body[data-stm-working-theme="woodland"] .event-panel{background:
 radial-gradient(ellipse at 50% 4%,rgba(255,238,174,.48),transparent 34%),
 radial-gradient(ellipse at 3% 42%,color-mix(in srgb,var(--stm-job-primary) 28%,transparent),transparent 33%),
 radial-gradient(ellipse at 97% 52%,color-mix(in srgb,var(--stm-job-accent) 26%,transparent),transparent 30%),
 linear-gradient(180deg,#efe8d1 0%,#e3e8d4 47%,#d4ddc8 100%)!important}
body[data-stm-working-theme="woodland"] .event-panel:not([data-panel="invitation"]):after{box-shadow:inset 0 0 120px color-mix(in srgb,var(--stm-job-primary) 17%,transparent)}
@media(min-width:920px){
 body[data-stm-working-theme="woodland"][data-stm-artwork="1"] .event-panel:before,body[data-stm-working-theme="woodland"][data-stm-artwork="1"] .event-panel:after{width:min(42vw,640px);opacity:.84;background-size:auto 108%;filter:saturate(1.16) contrast(1.04) brightness(1.02)}
 body[data-stm-working-theme="woodland"][data-stm-artwork="1"] .event-panel:before{background-image:linear-gradient(to right,rgba(255,250,235,.02) 0%,rgba(255,250,235,.04) 46%,rgba(239,232,209,.96) 100%),var(--stm-art-backdrop);mask-image:linear-gradient(to right,#000 0 63%,transparent 100%)}
 body[data-stm-working-theme="woodland"][data-stm-artwork="1"] .event-panel:after{background-image:linear-gradient(to left,rgba(255,250,235,.02) 0%,rgba(255,250,235,.04) 46%,rgba(239,232,209,.96) 100%),var(--stm-art-backdrop);mask-image:linear-gradient(to left,#000 0 63%,transparent 100%)}
 body[data-stm-working-theme="woodland"] .content-card{width:min(760px,calc(100% - 36px))!important}
 body[data-stm-working-theme="woodland"] .custom-invitation-stage94{width:min(1240px,calc(100% - 36px))!important}
}
body[data-stm-working-theme="woodland"] .content-card,body[data-stm-working-theme="woodland"] .custom-invitation-companion94{border-radius:28px!important;background:
 radial-gradient(ellipse at 5% 3%,color-mix(in srgb,var(--stm-job-accent) 9%,transparent),transparent 24%),
 radial-gradient(ellipse at 95% 97%,color-mix(in srgb,var(--stm-job-primary) 8%,transparent),transparent 24%),
 linear-gradient(165deg,color-mix(in srgb,var(--stm-job-surface) 97%,#fffaf0),color-mix(in srgb,var(--stm-job-surface2) 88%,#f2ead9))!important;outline:1px solid color-mix(in srgb,var(--stm-job-primary) 18%,transparent);outline-offset:-9px}
body[data-stm-working-theme="woodland"] .content-card:before,body[data-stm-working-theme="woodland"] .custom-invitation-companion94:before{content:"";position:absolute!important;z-index:0!important;left:auto!important;right:-24px!important;top:-18px!important;width:190px!important;height:138px!important;opacity:.28!important;background:
 radial-gradient(ellipse at 18% 72%,var(--stm-job-primary) 0 8%,transparent 9%),radial-gradient(ellipse at 35% 58%,var(--stm-job-secondary) 0 9%,transparent 10%),radial-gradient(ellipse at 54% 43%,var(--stm-job-primary) 0 8%,transparent 9%),radial-gradient(ellipse at 72% 26%,var(--stm-job-secondary) 0 8%,transparent 9%),linear-gradient(125deg,transparent 47%,var(--stm-job-primary) 48% 50%,transparent 51%)!important;transform:rotate(9deg)!important;pointer-events:none!important}
body[data-stm-working-theme="woodland"] .guest-app-bar,body[data-stm-working-theme="woodland"] .event-menu-wrap{background:linear-gradient(180deg,rgba(255,252,244,.96),rgba(244,240,228,.93))!important}
body[data-stm-working-theme="woodland"] .event-nav{border-radius:10px!important}

body[data-stm-working-theme="gothic"]{--stm-theme-edge-opacity:.28;--stm-theme-card-alpha:88%}
body[data-stm-working-theme="gothic"] .event-panel{background:radial-gradient(circle at 50% 15%,rgba(176,138,100,.15),transparent 30%),radial-gradient(circle at 10% 80%,rgba(103,28,49,.28),transparent 34%),linear-gradient(180deg,#171116,#26161d)!important}
body[data-stm-working-theme="gothic"] .content-card,body[data-stm-working-theme="gothic"] .custom-invitation-companion94{border-radius:40px 40px 10px 10px!important;background:linear-gradient(165deg,rgba(35,24,30,.95),rgba(21,16,20,.94))!important;outline:1px solid color-mix(in srgb,var(--stm-job-accent) 45%,transparent);outline-offset:-10px}
body[data-stm-working-theme="gothic"] .guest-app-bar,body[data-stm-working-theme="gothic"] .event-menu-wrap{background:rgba(24,17,21,.94)!important;color:var(--stm-job-text)!important}
body[data-stm-working-theme="gothic"] .event-nav{background:#2c2027!important;color:#f6eee8!important;border-radius:18px 18px 5px 5px!important}
body[data-stm-working-theme="gothic"] .event-nav.active{background:#5c2b39!important}
body[data-stm-working-theme="gothic"] .content-card:before{content:"";position:absolute;inset:12px 24% auto;height:90px;border:1px solid color-mix(in srgb,var(--stm-job-accent) 28%,transparent);border-bottom:0;border-radius:120px 120px 0 0;opacity:.5}

body[data-stm-working-theme="boho"] .event-panel{background:radial-gradient(circle at 12% 18%,rgba(193,137,86,.19),transparent 22%),radial-gradient(circle at 88% 78%,rgba(118,139,105,.18),transparent 26%),linear-gradient(145deg,#f8efe4,#eee0d0)!important}
body[data-stm-working-theme="boho"] .content-card{border-radius:34px!important;box-shadow:0 30px 75px rgba(98,72,49,.13)!important}
body[data-stm-working-theme="boho"] .content-card:before{content:"";position:absolute;right:-70px;top:-80px;width:220px;height:220px;border:1px solid color-mix(in srgb,var(--stm-job-accent) 35%,transparent);border-radius:50%;box-shadow:0 0 0 16px color-mix(in srgb,var(--stm-job-accent) 7%,transparent),0 0 0 34px color-mix(in srgb,var(--stm-job-primary) 5%,transparent)}

body[data-stm-working-theme="floral"]{--stm-theme-edge-opacity:.28}
body[data-stm-working-theme="floral"] .event-panel{background:radial-gradient(circle at 5% 18%,color-mix(in srgb,var(--stm-job-accent) 22%,transparent),transparent 27%),radial-gradient(circle at 95% 78%,color-mix(in srgb,var(--stm-job-primary) 18%,transparent),transparent 29%),linear-gradient(145deg,#fbf5f2,var(--stm-job-surface2))!important}
body[data-stm-working-theme="floral"] .content-card:before{content:"✿";position:absolute;right:22px;top:14px;font-size:64px;line-height:1;color:color-mix(in srgb,var(--stm-job-accent) 38%,transparent);transform:rotate(14deg)}
body[data-stm-working-theme="floral"] .content-card:after{box-shadow:-28px 28px 0 -27px color-mix(in srgb,var(--stm-job-primary) 44%,transparent),28px -28px 0 -27px color-mix(in srgb,var(--stm-job-accent) 44%,transparent)}

body[data-stm-working-theme="celestial"]{--stm-theme-edge-opacity:.22;--stm-theme-card-alpha:90%}
body[data-stm-working-theme="celestial"] .event-panel{background-color:#0d1630!important;background-image:radial-gradient(circle at 12% 18%,#fff 0 1px,transparent 1.4px),radial-gradient(circle at 68% 28%,#d9cb91 0 1.2px,transparent 1.6px),radial-gradient(circle at 36% 73%,#b6c7ff 0 1px,transparent 1.5px),radial-gradient(circle at 88% 82%,#fff 0 1px,transparent 1.5px),radial-gradient(circle at 50% -10%,rgba(89,109,179,.45),transparent 52%)!important;background-size:120px 120px,180px 180px,150px 150px,210px 210px,auto!important}
body[data-stm-working-theme="celestial"] .content-card{background:linear-gradient(165deg,rgba(19,29,58,.94),rgba(14,22,44,.94))!important;box-shadow:0 0 60px rgba(116,139,222,.18)!important}
body[data-stm-working-theme="celestial"] .content-card:before{content:"☾";position:absolute;right:26px;top:18px;font-size:66px;color:color-mix(in srgb,var(--stm-job-accent) 60%,transparent)}
body[data-stm-working-theme="celestial"] .guest-app-bar,body[data-stm-working-theme="celestial"] .event-menu-wrap{background:rgba(13,22,48,.92)!important}
body[data-stm-working-theme="celestial"] .event-nav{background:rgba(28,41,78,.88)!important;color:#f8f3e8!important}

body[data-stm-working-theme="coastal"] .event-panel{background:radial-gradient(ellipse at 50% 100%,rgba(214,185,140,.23),transparent 36%),linear-gradient(180deg,#eaf4f5 0,#dcebed 58%,#f3eee2 100%)!important}
body[data-stm-working-theme="coastal"] .event-panel:before{content:"";position:absolute;z-index:0;left:-5%;right:-5%;bottom:0;height:24%;background:radial-gradient(ellipse at 12% 100%,rgba(255,255,255,.65),transparent 52%),repeating-radial-gradient(ellipse at 50% 115%,transparent 0 42px,rgba(79,127,141,.10) 43px 45px,transparent 46px 80px)}
body[data-stm-working-theme="coastal"] .content-card{border-radius:30px!important}

body[data-stm-working-theme="safari"]{--stm-theme-edge-opacity:.31}
body[data-stm-working-theme="safari"] .event-panel{background:radial-gradient(circle at 0 22%,rgba(83,97,60,.24),transparent 34%),radial-gradient(circle at 100% 70%,rgba(199,149,81,.22),transparent 32%),linear-gradient(145deg,#f7edcf,#e4dec3)!important}
body[data-stm-working-theme="safari"] .content-card:before{content:"";position:absolute;right:-45px;top:-45px;width:180px;height:180px;border-radius:52% 48% 64% 36%;background:color-mix(in srgb,var(--stm-job-primary) 12%,transparent);transform:rotate(24deg)}

body[data-stm-working-theme="western"] .event-panel{background:radial-gradient(circle at 50% 10%,rgba(246,201,123,.45),transparent 30%),linear-gradient(165deg,#f3dfbf,#dfc4a4)!important}
body[data-stm-working-theme="western"] .event-panel:before{content:"";position:absolute;z-index:0;inset:0;background:repeating-linear-gradient(92deg,transparent 0 34px,rgba(123,75,49,.035) 35px 36px,transparent 37px 70px)}
body[data-stm-working-theme="western"] .content-card{border-radius:9px!important;outline:1px dashed color-mix(in srgb,var(--stm-job-primary) 34%,transparent);outline-offset:-10px}

body[data-stm-working-theme="playful"] .event-panel{background:radial-gradient(circle at 10% 14%,color-mix(in srgb,var(--stm-job-accent) 32%,transparent) 0 8px,transparent 9px),radial-gradient(circle at 88% 20%,color-mix(in srgb,var(--stm-job-secondary) 28%,transparent) 0 6px,transparent 7px),radial-gradient(circle at 80% 78%,color-mix(in srgb,var(--stm-job-primary) 22%,transparent) 0 9px,transparent 10px),linear-gradient(145deg,#fff8ef,#f2edff)!important;background-size:140px 140px,180px 180px,210px 210px,auto!important}
body[data-stm-working-theme="playful"] .content-card{border-radius:36px!important;transform:translateZ(0)}
body[data-stm-working-theme="playful"] .event-nav{border-radius:999px!important}

body[data-stm-working-theme="luxe"] .event-panel{background:radial-gradient(circle at 50% 0,rgba(182,146,90,.13),transparent 35%),linear-gradient(145deg,#f3eee6,#e8e0d4)!important}
body[data-stm-working-theme="luxe"] .content-card{border-radius:4px!important;outline:1px solid color-mix(in srgb,var(--stm-job-accent) 28%,transparent);outline-offset:-12px}
body[data-stm-working-theme="luxe"] .event-nav{border-radius:4px!important;text-transform:uppercase;letter-spacing:.05em;font-size:11px!important}

body[data-stm-working-theme="sports"] .event-panel{background-image:linear-gradient(color-mix(in srgb,var(--stm-job-primary) 6%,transparent) 1px,transparent 1px),linear-gradient(90deg,color-mix(in srgb,var(--stm-job-primary) 6%,transparent) 1px,transparent 1px),linear-gradient(145deg,#eef3f8,#f9fbfd)!important;background-size:42px 42px,42px 42px,auto!important}
body[data-stm-working-theme="sports"] .content-card{border-radius:8px!important;border-width:2px!important}.event-type-birthday[data-stm-working-theme="sports"] .event-nav{transform:none!important}

body[data-stm-working-theme="heritage"] .event-panel{background:repeating-linear-gradient(0deg,rgba(108,89,66,.026) 0 1px,transparent 1px 5px),linear-gradient(145deg,#f3ead8,#e7dbc7)!important}
body[data-stm-working-theme="heritage"] .content-card{border-radius:12px!important;outline:3px double color-mix(in srgb,var(--stm-job-primary) 24%,transparent);outline-offset:-11px}

body[data-stm-working-theme="minimal"]{--stm-theme-edge-opacity:.08;--stm-theme-card-alpha:98%}
body[data-stm-working-theme="minimal"] .event-panel{background:linear-gradient(145deg,#f5f7f7,#edf1f1)!important}.event-type-professional[data-stm-working-theme="minimal"] .content-card{border-radius:12px!important}

body[data-stm-working-theme="neutral"]{--stm-theme-edge-opacity:.12}.event-panel[data-panel="invitation"].has-custom-invitation .custom-invitation-stage94{position:relative;z-index:2}

/* Intensity scales decoration, not functionality. */
body[data-stm-theme-intensity="airy"]{--stm-theme-edge-opacity:.11;--stm-theme-card-alpha:97%;--stm-theme-ornament-alpha:.16}
body[data-stm-theme-intensity="rich"] .content-card{box-shadow:0 34px 86px color-mix(in srgb,var(--stm-job-text) 18%,transparent)!important}
body[data-stm-theme-intensity="rich"] .event-panel{background-blend-mode:normal}

/* Mobile keeps the design DNA while reducing scenery so controls stay obvious. */
@media(max-width:919px){body[data-stm-working-theme] .event-panel:before,body[data-stm-working-theme] .event-panel:after{display:none!important}body[data-stm-working-theme] .content-card,body[data-stm-working-theme] .custom-invitation-companion94{backdrop-filter:none}.custom-invitation-stage94{padding-top:14px!important}}
@media(max-width:560px){body[data-stm-working-theme] .event-menu-wrap{padding-bottom:8px!important}body[data-stm-working-theme] .content-card{outline-offset:-6px!important}body[data-stm-working-theme="woodland"] .content-card:before{width:120px!important;height:88px!important;opacity:.18!important}.guest-app-bar strong{max-width:68vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
@media(prefers-reduced-motion:reduce){body[data-stm-working-theme] *{scroll-behavior:auto!important}}


/* FIXED96 depth pass: make every themed page read as an event world rather than a centered white utility card. */
body[data-stm-working-theme]:not([data-stm-working-theme="minimal"]):not([data-stm-working-theme="neutral"]) .event-panel.active{position:relative;overflow:hidden}
body[data-stm-working-theme]:not([data-stm-working-theme="minimal"]):not([data-stm-working-theme="neutral"]) .content-card{position:relative;z-index:3}
body[data-stm-working-theme="woodland"] .detail-grid>div,body[data-stm-working-theme="woodland"] .event-note-block,body[data-stm-working-theme="woodland"] .gallery-upload95,body[data-stm-working-theme="woodland"] .gallery-empty-state95,body[data-stm-working-theme="woodland"] .concierge-answer{box-shadow:inset 0 1px 0 rgba(255,255,255,.72),0 8px 24px rgba(67,77,43,.07)!important}
body[data-stm-working-theme="woodland"] .event-button{background:linear-gradient(180deg,color-mix(in srgb,var(--stm-job-primary) 92%,#68743e),color-mix(in srgb,var(--stm-job-primary) 88%,#303914))!important}
body[data-stm-working-theme="woodland"] .event-nav.active{background:linear-gradient(180deg,color-mix(in srgb,var(--stm-job-primary) 94%,#71804a),color-mix(in srgb,var(--stm-job-primary) 90%,#333b1d))!important}
body[data-stm-working-theme="woodland"] .event-eyebrow{letter-spacing:.14em!important}
body[data-stm-working-theme="woodland"] .content-card h2,body[data-stm-working-theme="woodland"] .custom-invitation-companion94 h1{color:#24190f!important;text-shadow:0 1px 0 rgba(255,255,255,.45)}
@media(min-width:1200px){body[data-stm-working-theme="woodland"] .content-card{padding:clamp(42px,4.7vw,70px)!important}body[data-stm-working-theme="woodland"] .event-panel:not([data-panel="invitation"]){display:none!important}body[data-stm-working-theme="woodland"] .event-panel:not([data-panel="invitation"]).active{display:grid!important;place-items:center!important}}

/* FIXED97 — realism + readability + full-page scrolling regression repair. */
/* The active panel is the scroll container by design. FIXED96's depth pass accidentally clipped it. */
body[data-stm-working-theme] .event-panel.active{
  overflow-y:auto!important;
  overflow-x:hidden!important;
  -webkit-overflow-scrolling:touch!important;
  overscroll-behavior-y:auto!important;
  scrollbar-gutter:stable both-edges;
}
body[data-stm-working-theme] .event-panel.has-custom-invitation.active{
  overflow-y:auto!important;
  overflow-x:hidden!important;
}

/* When the invitation supplies its actual finished artwork, use those real pixels as the atmosphere.
   This intentionally suppresses generic/vector scenery so the working invite feels like the approved design. */
body[data-stm-working-theme][data-stm-artwork="1"] .event-panel.active{
  isolation:isolate!important;
  background:linear-gradient(180deg,
    color-mix(in srgb,var(--stm-job-surface2) 82%,transparent),
    color-mix(in srgb,var(--stm-job-surface2) 92%,transparent))!important;
}
body[data-stm-working-theme][data-stm-artwork="1"] .event-panel.active:before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  z-index:0!important;
  inset:0!important;
  width:auto!important;
  height:auto!important;
  opacity:.72!important;
  pointer-events:none!important;
  background-image:var(--stm-art-backdrop)!important;
  background-size:cover!important;
  background-position:center 42%!important;
  background-repeat:no-repeat!important;
  filter:saturate(1.06) contrast(1.02) brightness(.98)!important;
  transform:scale(1.015)!important;
  mask-image:none!important;
}
body[data-stm-working-theme][data-stm-artwork="1"] .event-panel.active:after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  z-index:1!important;
  inset:0!important;
  width:auto!important;
  height:auto!important;
  pointer-events:none!important;
  opacity:1!important;
  background:
    linear-gradient(90deg,
      color-mix(in srgb,var(--stm-job-surface2) 34%,transparent) 0%,
      color-mix(in srgb,var(--stm-job-surface2) 80%,transparent) 24%,
      color-mix(in srgb,var(--stm-job-surface2) 94%,transparent) 42%,
      color-mix(in srgb,var(--stm-job-surface2) 94%,transparent) 58%,
      color-mix(in srgb,var(--stm-job-surface2) 80%,transparent) 76%,
      color-mix(in srgb,var(--stm-job-surface2) 34%,transparent) 100%),
    linear-gradient(180deg,color-mix(in srgb,var(--stm-job-surface2) 12%,transparent),color-mix(in srgb,var(--stm-job-surface2) 28%,transparent))!important;
  box-shadow:none!important;
  mask-image:none!important;
}
body[data-stm-working-theme][data-stm-artwork="1"] .event-panel.active>*{position:relative!important;z-index:2!important}

/* Woodland fallback should look atmospheric, not like flat vector scenery, while real artwork is still loading/unavailable. */
body[data-stm-working-theme="woodland"]:not([data-stm-artwork="1"]) .event-panel{
  background:
    radial-gradient(ellipse at 15% 18%,rgba(255,231,161,.42),transparent 27%),
    radial-gradient(ellipse at 84% 22%,rgba(82,108,54,.22),transparent 34%),
    radial-gradient(ellipse at 12% 78%,rgba(67,91,48,.24),transparent 30%),
    radial-gradient(ellipse at 92% 74%,rgba(124,94,58,.17),transparent 31%),
    linear-gradient(180deg,#dfe6d1 0%,#c9d6b9 52%,#b7c5a7 100%)!important;
}

/* Shortcut buttons must stay readable even when an uploaded artifact declares a poor light/dark palette. */
body[data-stm-working-theme] .custom-invitation-actions94 .event-button:not(.event-button--secondary){
  background:color-mix(in srgb,var(--stm-job-primary) 86%,#182115)!important;
  border:1px solid color-mix(in srgb,var(--stm-job-primary) 86%,#182115)!important;
  color:#fff!important;
  text-shadow:none!important;
}
body[data-stm-working-theme] .custom-invitation-actions94 .event-button--secondary{
  background:color-mix(in srgb,var(--stm-job-surface) 96%,#fff)!important;
  border:1px solid color-mix(in srgb,var(--stm-job-border) 92%,var(--stm-job-primary))!important;
  color:var(--stm-job-text)!important;
  text-shadow:none!important;
}
body[data-stm-working-theme] .custom-invitation-actions94 .event-button:focus-visible,
body[data-stm-working-theme] .event-nav:focus-visible{
  outline:3px solid color-mix(in srgb,var(--stm-job-accent) 70%,#fff)!important;
  outline-offset:2px!important;
}

/* Keep the top chrome readable from the job theme instead of any accidental dark artifact surface. */
body[data-stm-working-theme] .guest-app-bar{
  background:color-mix(in srgb,var(--stm-job-surface) 96%,#fff)!important;
  color:var(--stm-job-text)!important;
}
body[data-stm-working-theme] .guest-app-bar strong{color:var(--stm-job-text)!important}
body[data-stm-working-theme] .event-menu-wrap{background:color-mix(in srgb,var(--stm-job-surface) 94%,transparent)!important}
body[data-stm-working-theme] .event-menu-head strong{color:var(--stm-job-muted)!important}

@media(max-width:919px){
  body[data-stm-working-theme][data-stm-artwork="1"] .event-panel.active:before{
    opacity:.28!important;
    background-position:center 30%!important;
    filter:saturate(1.03) contrast(1.01)!important;
    transform:none!important;
  }
  body[data-stm-working-theme][data-stm-artwork="1"] .event-panel.active:after{
    background:linear-gradient(180deg,
      color-mix(in srgb,var(--stm-job-surface2) 78%,transparent),
      color-mix(in srgb,var(--stm-job-surface2) 94%,transparent))!important;
  }
}
