/* STM119: public sample previews ONLY. Real customer websites retain their chosen themes. */
:root{--stm119-navy:#153858;--stm119-blue:#22577d;--stm119-slate:#426783;--stm119-silver:#c8d6e1;--stm119-frost:#eef4f9;--stm119-text:#203b53}
body[class*="event-type-"]{
 --ink:#1b3650!important;--accent:#245c82!important;--soft:#ebf3f9!important;
 --cream:#f6f9fc!important;--paper:#fff!important;--line:#d7e2ea!important;
 color:#203b53!important;background:#f4f8fb!important;
}
body[class*="event-type-"] .preview-action-bar{background:#fff!important;border-bottom:1px solid #cbdbe6!important;box-shadow:0 3px 16px rgba(20,55,83,.07)!important}
body[class*="event-type-"] .preview-home-action,
body[class*="event-type-"] .preview-tools-toggle,
body[class*="event-type-"] .preview-tool-button{color:#173c5b!important;background:#fff!important;border:1px solid #adbfcd!important;box-shadow:none!important;font-weight:800!important}
body[class*="event-type-"] .preview-home-action:hover,
body[class*="event-type-"] .preview-tools-toggle:hover,
body[class*="event-type-"] .preview-tool-button:hover{background:#eaf3fa!important;border-color:#799fb9!important;color:#102e48!important}
body[class*="event-type-"] .preview-create-action,
body[class*="event-type-"] .preview-tool-button.active{background:#153858!important;color:#fff!important;border:1px solid #153858!important;box-shadow:0 8px 20px rgba(15,45,70,.18)!important;text-decoration:none!important}
body[class*="event-type-"] .preview-create-action:hover,
body[class*="event-type-"] .preview-tool-button.active:hover{background:#235c82!important;color:#fff!important}
body[class*="event-type-"] .preview-tone-brief{background:linear-gradient(110deg,#eaf2f8,#f7fafd 62%,#e6edf4)!important;border:1px solid #b7cedd!important;box-shadow:0 8px 24px rgba(19,53,84,.045)!important;color:#1d3d58!important}
body[class*="event-type-"] .preview-tone-brief small{color:#306487!important}
body[class*="event-type-"] .preview-tone-brief strong{color:#1c3b56!important}
body[class*="event-type-"] .preview-tone-chips span{color:#234e71!important;background:#fff!important;border:1px solid #b7d0e0!important;box-shadow:0 3px 10px rgba(22,57,83,.04)!important}
body[class*="event-type-"] .event-menu-wrap{background:rgba(255,255,255,.98)!important;border-top:1px solid #dde7ef!important;border-bottom:1px solid #cad9e4!important;box-shadow:0 5px 20px rgba(20,52,76,.055)!important}
body[class*="event-type-"] .event-menu-head{color:#5a7083!important}
body[class*="event-type-"] .event-menu-wrap .event-nav{color:#173d5c!important;background:#fff!important;border:1px solid #c1d2e0!important;box-shadow:none!important;min-height:43px!important;font-size:13px!important;font-weight:850!important}
body[class*="event-type-"] .event-menu-wrap .event-nav:hover{background:#e9f2f9!important;border-color:#7fa5c0!important;color:#0f2f4b!important}
body[class*="event-type-"] .event-menu-wrap .event-nav.active,
body[class*="event-type-"] .event-menu-wrap .event-nav[aria-current="page"]{background:#163d60!important;border-color:#163d60!important;color:#fff!important;box-shadow:0 7px 19px rgba(16,51,81,.20)!important}
body[class*="event-type-"] .event-panel{background:radial-gradient(ellipse at 50% 5%,#e6eef6 0,transparent 65%),linear-gradient(180deg,#f5f8fa,#e9eef3)!important;padding-left:clamp(12px,2vw,35px)!important;padding-right:clamp(12px,2vw,35px)!important}
body[class*="event-type-"] .event-panel:not([data-panel="invitation"]) .content-card{color:#233c53!important;background:#fff!important;border:1px solid #c9d7e3!important;border-radius:24px!important;box-shadow:0 20px 65px rgba(26,59,86,.11)!important}
body[class*="event-type-"] .event-panel:not([data-panel="invitation"]) h2{color:#193958!important;line-height:1.05!important;letter-spacing:-.035em!important}
body[class*="event-type-"] .event-panel .event-eyebrow{color:#365f7e!important}
body[class*="event-type-"] .event-panel .event-lead{color:#4d6276!important;line-height:1.55!important}
body[class*="event-type-"] .event-panel .event-button,
body[class*="event-type-"] .rsvp-form button,
body[class*="event-type-"] .map-button-row .event-button{background:#1c5075!important;border:1px solid #1c5075!important;color:#fff!important;box-shadow:0 7px 19px rgba(28,80,117,.16)!important;font-weight:800!important}
body[class*="event-type-"] .event-panel .event-button--secondary{background:#fff!important;border-color:#aac6d9!important;color:#1b5275!important}
body[class*="event-type-"] .event-panel .event-button:hover{background:#113d5e!important;color:#fff!important}
body[class*="event-type-"] .event-panel .event-button--secondary:hover{background:#ebf4fa!important;color:#173b58!important}
body[class*="event-type-"] .event-panel:not([data-panel="invitation"]) label,
body[class*="event-type-"] .event-panel:not([data-panel="invitation"]) strong{color:#183a57}
body[class*="event-type-"] .event-panel :is(input,select,textarea){color:#183a57!important;background:#fff!important;border-color:#b9cbd8!important}
body[class*="event-type-"] .event-panel :is(input,select,textarea):focus-visible{outline:3px solid #9ec6e2!important;outline-offset:1px}
/* Photo page: useful visual size, 3-column editorial mosaic, no empty surrounding canvas. */
body[class*="event-type-"] .event-panel[data-panel="gallery"]{align-content:start!important;padding-top:clamp(24px,4vh,48px)!important;padding-bottom:100px!important}
body[class*="event-type-"] .event-panel[data-panel="gallery"] .content-card{
 width:min(1120px,100%)!important;max-width:1120px!important;margin:0 auto!important;
 padding:clamp(22px,3vw,48px)!important;min-height:0!important;
}
body[class*="event-type-"] .event-panel[data-panel="gallery"] .content-card h2{font:600 clamp(42px,4vw,62px)/1.0 Georgia,serif!important;margin:8px 0 16px!important}
body[class*="event-type-"] .event-panel[data-panel="gallery"] .event-lead{max-width:820px!important;font-size:16px!important;margin-bottom:22px!important}
body[class*="event-type-"] .preview-event-gallery{
 display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
 gap:16px!important;margin-top:22px!important;
}
body[class*="event-type-"] .preview-event-gallery figure{
 min-width:0!important;margin:0!important;padding:8px!important;
 background:#fff!important;border:1px solid #d5e1e9!important;border-radius:17px!important;
 box-shadow:0 12px 30px rgba(22,55,84,.07)!important;overflow:hidden!important;
 transition:transform .18s ease, box-shadow .18s ease;
}
body[class*="event-type-"] .preview-event-gallery figure:hover{transform:translateY(-3px);box-shadow:0 17px 38px rgba(22,55,84,.12)!important}
body[class*="event-type-"] .preview-event-gallery img{
 display:block!important;width:100%!important;aspect-ratio:4/3!important;height:auto!important;
 object-fit:contain!important;object-position:center!important;background:#e8f0f6!important;
 border-radius:10px!important;
}
body[class*="event-type-"] .preview-event-gallery figcaption{color:#304f67!important;padding:10px 5px 5px!important;font:750 13px/1.4 system-ui,sans-serif!important}
body[class*="event-type-"] .event-panel[data-panel="gallery"] .privacy-note{color:#65798a!important;font-size:13px!important;line-height:1.55!important;padding-top:12px!important}
body[class*="event-type-"] .preview-host-dashboard{background:linear-gradient(180deg,#eaf2f7,#fff)!important}
body[class*="event-type-"] .preview-host-card,body[class*="event-type-"] .preview-host-metrics article{background:#fff!important;border:1px solid #d6e2ec!important;color:#23445e!important}
body[class*="event-type-"] .preview-host-badge{color:#1b5376!important;background:#e2f0fa!important}
body[class*="event-type-"] .preview-host-tool-list span{color:#23445e!important;background:#eff5fa!important;border-color:#d9e4ed!important}
/* The invitation's artwork (including the original baby-shower image) remains intact and customizable. */
body[class*="event-type-"] .event-panel[data-panel="invitation"] .invite-art--image img{object-fit:contain!important}
@media(max-width:950px){body[class*="event-type-"] .preview-event-gallery{grid-template-columns:repeat(2,minmax(0,1fr))!important}body[class*="event-type-"] .event-panel[data-panel="gallery"] .content-card{padding:25px!important}}
@media(max-width:600px){
 body[class*="event-type-"] .preview-action-bar{padding:8px!important;gap:6px!important}
 body[class*="event-type-"] .preview-tone-brief{padding:12px 14px!important;gap:6px!important}
 body[class*="event-type-"] .preview-tone-chips{gap:5px!important}
 body[class*="event-type-"] .preview-tone-chips span{font-size:10px!important;padding:6px 9px!important}
 body[class*="event-type-"] .event-menu-wrap{padding:8px 10px!important}
 body[class*="event-type-"] .event-panel[data-panel="gallery"]{padding:14px 11px 100px!important}
 body[class*="event-type-"] .event-panel[data-panel="gallery"] .content-card{width:100%!important;padding:20px 14px!important;border-radius:18px!important}
 body[class*="event-type-"] .event-panel[data-panel="gallery"] .content-card h2{font-size:40px!important}
 body[class*="event-type-"] .event-panel[data-panel="gallery"] .event-lead{font-size:14px!important}
 body[class*="event-type-"] .preview-event-gallery{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
 body[class*="event-type-"] .preview-event-gallery figure{padding:5px!important;border-radius:11px!important}
 body[class*="event-type-"] .preview-event-gallery img{border-radius:7px!important;aspect-ratio:4/5!important}
 body[class*="event-type-"] .preview-event-gallery figcaption{font-size:11px!important;padding:7px 3px 3px!important}
}
@media(prefers-reduced-motion:reduce){body[class*="event-type-"] .preview-event-gallery figure{transition:none!important}}
/* Final responsive/contrast polish: demo utility text stays legible on every accent. */
html body[class*="event-type-"] .preview-action-bar a.preview-create-action{
 color:#fff!important;-webkit-text-fill-color:#fff!important;text-shadow:none!important;
 background:#153858!important;border-color:#153858!important;
}
html body[class*="event-type-"] .preview-action-bar a.preview-create-action:hover{background:#28658b!important;border-color:#28658b!important}
html body[class*="event-type-"] .event-panel[data-panel="gallery"] .content-card{
 display:flex!important;flex-direction:column!important;align-items:stretch!important;
 justify-content:flex-start!important;gap:0!important;
}
html body[class*="event-type-"] .event-panel[data-panel="gallery"] .content-card .event-lead{margin:8px 0 12px!important}
html body[class*="event-type-"] .event-panel[data-panel="gallery"] .preview-event-gallery{margin-top:12px!important}
html body[class*="event-type-"] .event-panel[data-panel="gallery"] .privacy-note{margin:14px 0 0!important}
html body[class*="event-type-"] .event-panel[data-panel="gallery"] .event-gallery figure{color:#224663!important}
@media(max-width:600px){
 html body[class*="event-type-"] .preview-tone-brief{min-height:0!important;gap:3px!important}
 html body[class*="event-type-"] .preview-tone-brief strong{font-size:17px!important;line-height:1.2!important}
 html body[class*="event-type-"] .preview-tone-chips{overflow-x:auto!important;flex-wrap:nowrap!important;white-space:nowrap!important;width:100%!important;scrollbar-width:none!important}
 html body[class*="event-type-"] .event-menu-head{display:none!important}
 html body[class*="event-type-"] .event-menu{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;overflow-y:hidden!important;gap:7px!important;white-space:nowrap!important;scrollbar-width:thin!important;padding:4px 2px 9px!important}
 html body[class*="event-type-"] .event-menu .event-nav{flex:0 0 auto!important;width:auto!important;min-width:67px!important;padding:10px 12px!important;font-size:12px!important}
 html body[class*="event-type-"] .event-panel[data-panel="gallery"] .content-card h2{margin:6px 0 10px!important}
 html body[class*="event-type-"] .event-panel[data-panel="gallery"] .content-card .event-lead{margin:5px 0 8px!important}
}
html body[class*="event-type-"] .gallery-keepsake-badge95{
 color:#1b5278!important;background:#e9f2f8!important;border:1px solid #b9cedd!important;
 text-shadow:none!important;font-weight:850!important;
}
html body[class*="event-type-"] .event-menu-head{color:#57728a!important}
html body[class*="event-type-"] .event-menu-head>span,
html body[class*="event-type-"] .event-menu-head>strong{color:#52708b!important}
@media(max-width:600px){html body[class*="event-type-"] .event-menu-wrap .event-menu-head{display:none!important}}
