/* STM122: reflective SILVER (not flat grey) + centered, larger flagship demo.
   Public platform chrome/preview only. Real customer-authored invitation art is untouched. */
:root {
 --stm122-navy:#143e60;
 --stm122-midnight:#0b2b48;
 --stm122-silver-light:#faffff;
 --stm122-silver-highlight:#edf7ff;
 --stm122-silver-mid:#bdcad6;
 --stm122-silver-depth:#8ea4b6;
 --stm122-silver-edge:#b0c1cf;
 --stm122-silver-gloss:linear-gradient(116deg,#99aebb 0%,#eff6fc 16%,#fff 29%,#b9c9d5 46%,#f6fbff 64%,#a8bac8 84%,#ecf3f9 100%);
 --stm122-silver-satin:linear-gradient(132deg,#fafdff 0%,#e8f2f9 27%,#b6c7d4 49%,#f5faff 72%,#e0ebf4 100%);
 --stm122-silver-border:linear-gradient(125deg,#9bafbe 0%,#fff 21%,#a3b8c8 43%,#f8fcff 70%,#8fa8b9 100%);
}
/* Silver material treatment belongs to website UI, not the invitation art or customer-uploaded images. */
body:not([class*="event-type-"]){--line:#b5c7d5;--cream:#f5f9fd;--soft:#eaf3fa}
body:not([class*="event-type-"]):is(:has(.approved-home),:has(.admin94-shell),:has(.admin-main),:has(.owner-dashboard),:has(.customer-flow-preview-page),:has(.fancy-home)){
 background:radial-gradient(ellipse at 10% 5%,rgba(241,250,255,.95),transparent 55%),linear-gradient(145deg,#f8fcff,#e8f1f8 48%,#f8fbff)!important;
}
body:not([class*="event-type-"]) :is(
 .approved-example-card,.launch-platform-card,.service-compare-wrap,.customer-flow-demo-shell,
 .customer-workflow-showcase,.template-category-card,.product-visual-card,
 .admin-section,.job94-card,.active-job94,.owner-card,.owner-command-center,
 .host-dashboard-demo,.pricing-final-choice,.preview-host-card
 ){
 border:1px solid transparent!important;
 background-image:linear-gradient(160deg,rgba(255,255,255,.99),rgba(247,251,255,.98)) ,var(--stm122-silver-border)!important;
 background-origin:padding-box,border-box!important;
 background-clip:padding-box,border-box!important;
 box-shadow:0 15px 36px rgba(13,46,74,.09),0 2px 0 rgba(255,255,255,.92) inset!important;
}
/* Actual host, admin and landing navigation use crisp silver edges and navy accents. */
body:not([class*="event-type-"]) :is(.customer-flow-browserbar,.customer-flow-window-head,.owner-mobile-tabs,.admin105-job-nav,.admin-main-switcher,.admin-section-switcher,.service-compare-table thead th){
 background:var(--stm122-silver-satin)!important;border-color:#adbfce!important;color:#173f5d!important;
}
body:not([class*="event-type-"]) :is(.customer-flow-tabs,.premium-home-secondary,.secondary-action,.approved-home-secondary,.preview-home-action){
 background:var(--stm122-silver-gloss)!important;border:1px solid #9fb5c6!important;color:#153d5c!important;
 box-shadow:0 2px 7px rgba(25,62,91,.11),inset 0 1px 1px rgba(255,255,255,.96)!important;
}
body:not([class*="event-type-"]) :is(.secondary-action,.premium-home-secondary,.approved-home-secondary):hover{
 background:linear-gradient(125deg,#faffff,#d6e7f3 56%,#f8fcff)!important;color:#0f3555!important;
}
body:not([class*="event-type-"]) :is(.admin94-top,.admin-top,.owner-dashboard-header,.site-header){border-bottom:1px solid #a8bdcb!important}
body:not([class*="event-type-"]) :is(.owner-card,.admin-section,.customer-workflow-step,.service-compare-table td){border-color:#afc2d1!important}
body:not([class*="event-type-"]) :is(.pricing-page,.request-page,.approved-home,.owner-dashboard,.customer-flow-preview-page){color:#163e5e}
body:not([class*="event-type-"]) :is(.primary-action,.premium-home-primary,.approved-home-get-started,.customer-flow-tabs button.is-active,.customer-flow-bundle-submit17 button){
 background:linear-gradient(140deg,#0f3656,#235f88)!important;color:#fff!important;border-color:#17496c!important;
}
/* More visibly silver than grey: thin metallic trim on imagery and sample frames. */
body:has(.approved-home) :is(.stm118-flagship-frame,.original-screen-invite-art,.launch-photo-demo,.original-screen-photo-pair){
 border-color:#b4c5d4!important;box-shadow:0 18px 40px rgba(29,63,92,.14),0 0 0 1px rgba(247,252,255,.6) inset!important;
}
body:has(.approved-home) :is(.approved-example-card,.launch-platform-card):hover{box-shadow:0 22px 44px rgba(16,57,88,.13)!important}
body:has(.approved-home) :is(.approved-home h1,.approved-home h2,.approved-home h3){text-shadow:0 1px 0 rgba(255,255,255,.72)}
/* Dedicated demo invite: remove old blank right column and center the COMPLETE original flagship. */
body.event-template-cloud-blue .event-panel[data-panel="invitation"],
body.event-template-baby-shower-blank-slate .event-panel[data-panel="invitation"]{
 isolation:isolate!important;position:absolute!important;
 background:
 radial-gradient(ellipse at 8% 18%,rgba(239,249,255,.92),transparent 41%),
 radial-gradient(ellipse at 91% 80%,rgba(150,185,211,.32),transparent 43%),
 linear-gradient(131deg,#ecf4fb 0%,#faffff 24%,#dee9f2 49%,#fafcff 74%,#cbdce8 100%)!important;
}
body.event-template-cloud-blue .event-panel[data-panel="invitation"]:before,
body.event-template-baby-shower-blank-slate .event-panel[data-panel="invitation"]:before{
 content:"";pointer-events:none;position:absolute;inset:0;z-index:0;opacity:.34;
 background: url('./stm122-silver-botanical-corner.svg') no-repeat 2% 4% / min(300px,32vw),
 url('./stm122-silver-botanical-corner.svg') no-repeat 97% 96% / min(280px,30vw);
 filter:drop-shadow(0 2px 2px rgba(255,255,255,.7));
}
body.event-template-cloud-blue .event-panel[data-panel="invitation"]:after,
body.event-template-baby-shower-blank-slate .event-panel[data-panel="invitation"]:after{
 content:"";pointer-events:none;position:absolute;inset:clamp(9px,1.6vw,24px);z-index:0;
 border:1px solid rgba(157,184,203,.26);border-radius:clamp(20px,2.8vw,42px);
 box-shadow:inset 0 0 0 1px rgba(255,255,255,.53);
}
body.event-template-cloud-blue .event-panel[data-panel="invitation"].active,
body.event-template-baby-shower-blank-slate .event-panel[data-panel="invitation"].active{
 display:flex!important;align-items:flex-start!important;justify-content:center!important;
}
body.event-template-cloud-blue .event-panel[data-panel="invitation"] .hero-composition,
body.event-template-baby-shower-blank-slate .event-panel[data-panel="invitation"] .hero-composition{
 display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;
 gap:clamp(12px,2vw,22px)!important;width:min(1030px,100%)!important;max-width:100%!important;
 min-height:0!important;height:auto!important;margin:0 auto!important;
 padding:clamp(20px,3.5vw,43px) clamp(5px,1.5vw,24px) clamp(48px,6vw,90px)!important;
 position:relative!important;z-index:1!important;transform:none!important;
}
body.event-template-cloud-blue .event-panel[data-panel="invitation"] .hero-composition>.invite-art,
body.event-template-baby-shower-blank-slate .event-panel[data-panel="invitation"] .hero-composition>.invite-art{
 display:block!important;flex:none!important;grid-column:auto!important;grid-row:auto!important;
 width:min(790px,100%)!important;max-width:100%!important;margin:0 auto!important;
 background:transparent!important;border:0!important;padding:0!important;transform:none!important;
 box-shadow:0 24px 62px rgba(17,51,77,.15),0 0 0 2px rgba(255,255,255,.76)!important;border-radius:25px!important;
}
body.event-template-cloud-blue .event-panel[data-panel="invitation"] .invite-art>img,
body.event-template-baby-shower-blank-slate .event-panel[data-panel="invitation"] .invite-art>img{
 display:block!important;width:100%!important;height:auto!important;max-width:100%!important;max-height:none!important;
 object-fit:contain!important;object-position:center!important;border-radius:23px!important;
}
/* Redundant second ultrasound image is a legacy layout artifact; the approved invite already contains it. */
body.event-template-cloud-blue .event-panel[data-panel="invitation"] .accent-keepsake,
body.event-template-baby-shower-blank-slate .event-panel[data-panel="invitation"] .accent-keepsake{display:none!important}
body.event-template-cloud-blue .event-panel[data-panel="invitation"] .guest-invite-summary,
body.event-template-baby-shower-blank-slate .event-panel[data-panel="invitation"] .guest-invite-summary{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:clamp(9px,1.4vw,18px)!important;
 width:min(790px,100%)!important;max-width:100%!important;margin:0 auto!important;
 grid-column:auto!important;grid-row:auto!important;order:2!important;
}
body.event-template-cloud-blue .event-panel[data-panel="invitation"] .guest-invite-summary>div,
body.event-template-baby-shower-blank-slate .event-panel[data-panel="invitation"] .guest-invite-summary>div{
 border:1px solid transparent!important;background:linear-gradient(150deg,#fff,#f6fbff) padding-box,var(--stm122-silver-border) border-box!important;
 color:#173c5c!important;box-shadow:0 9px 28px rgba(22,62,95,.09),inset 0 1px 0 #fff!important;
 padding:clamp(13px,1.7vw,18px) clamp(15px,1.7vw,19px)!important;border-radius:17px!important;
}
body.event-template-cloud-blue .event-panel[data-panel="invitation"] .guest-invite-summary span,
body.event-template-baby-shower-blank-slate .event-panel[data-panel="invitation"] .guest-invite-summary span{
 color:#21587d!important;font-size:11px!important;letter-spacing:.11em!important;
}
body.event-template-cloud-blue .event-panel[data-panel="invitation"] .guest-invite-summary strong,
body.event-template-baby-shower-blank-slate .event-panel[data-panel="invitation"] .guest-invite-summary strong{
 color:#1c3f5e!important;font-size:clamp(12px,1.4vw,14px)!important;line-height:1.5!important;
}
/* ALL example templates: preserve full photo, provide premium silver frames and readable captions. */
body[class*="event-type-"] .event-panel[data-panel="gallery"] .preview-event-gallery{
 gap:clamp(10px,1.8vw,20px)!important;align-items:start!important;
}
body[class*="event-type-"] .event-panel[data-panel="gallery"] .preview-event-gallery figure{
 border:1px solid transparent!important;
 background:linear-gradient(145deg,#fff,#f8fbfe) padding-box,var(--stm122-silver-border) border-box!important;
 padding:clamp(7px,.9vw,12px)!important;box-shadow:0 13px 27px rgba(11,46,77,.11),inset 0 1px 0 #fff!important;
}
body[class*="event-type-"] .event-panel[data-panel="gallery"] .preview-event-gallery img{
 display:block!important;width:100%!important;height:auto!important;
 aspect-ratio:auto!important;max-height:none!important;object-fit:contain!important;object-position:center!important;
 background:linear-gradient(140deg,#e1ebf4,#fbfeff 52%,#c8d6e2)!important;
 border-radius:10px!important;image-rendering:auto!important;
}
body[class*="event-type-"] .event-panel[data-panel="gallery"] .preview-event-gallery figcaption{
 color:#244a67!important;font-size:13px!important;min-height:38px!important;line-height:1.45!important;
}
body[class*="event-type-"] :is(.event-menu-wrap,.preview-action-bar,.preview-host-card){border-color:#a9bece!important}
body[class*="event-type-"] .event-panel[data-panel="gallery"] .content-card{
 border:1px solid #b8cbd9!important;background:linear-gradient(145deg,#fff,#faffff)!important;
 box-shadow:0 22px 55px rgba(14,55,87,.11)!important;
}
@media(max-width:750px){
 body.event-template-cloud-blue .event-panel[data-panel="invitation"] .hero-composition,
 body.event-template-baby-shower-blank-slate .event-panel[data-panel="invitation"] .hero-composition{padding:24px 6px 52px!important}
 body.event-template-cloud-blue .event-panel[data-panel="invitation"] .hero-composition>.invite-art,
 body.event-template-baby-shower-blank-slate .event-panel[data-panel="invitation"] .hero-composition>.invite-art{border-radius:17px!important}
 body.event-template-cloud-blue .event-panel[data-panel="invitation"] .invite-art>img,
 body.event-template-baby-shower-blank-slate .event-panel[data-panel="invitation"] .invite-art>img{border-radius:15px!important}
 body.event-template-cloud-blue .event-panel[data-panel="invitation"] .guest-invite-summary,
 body.event-template-baby-shower-blank-slate .event-panel[data-panel="invitation"] .guest-invite-summary{gap:8px!important}
}
@media(max-width:480px){
 body.event-template-cloud-blue .event-panel[data-panel="invitation"] .guest-invite-summary,
 body.event-template-baby-shower-blank-slate .event-panel[data-panel="invitation"] .guest-invite-summary{grid-template-columns:1fr!important}
 body.event-template-cloud-blue .event-panel[data-panel="invitation"]:before,
 body.event-template-baby-shower-blank-slate .event-panel[data-panel="invitation"]:before{opacity:.18}
 body[class*="event-type-"] .preview-event-gallery figcaption{font-size:11px!important}
}
@media(prefers-reduced-motion:reduce){body[class*="event-type-"] .preview-event-gallery figure{transition:none!important}}
