/* FIXED111 — authoritative shell visual controls.
   Loaded last so Admin choices win over older theme-family hard-coded borders,
   outlines, card fills, spacing and scene treatment. */
body[data-stm-working-theme][data-stm-theme-intensity] .event-stage:before,
body[data-stm-working-theme][data-stm-theme-intensity] .event-panel.active:before{
  background-position:var(--stm-theme-position,50% 48%)!important;
  filter:blur(var(--stm-shell-bg-blur,0px)) saturate(var(--stm-theme-saturation,.97)) contrast(var(--stm-theme-contrast,.98)) brightness(var(--stm-theme-brightness,.96))!important;
  transform:scale(var(--stm-theme-zoom,1))!important;
  transform-origin:center center!important;
  opacity:var(--stm-shell-bg-opacity,1)!important;
}
body[data-stm-working-theme][data-stm-theme-intensity] .event-stage:after,
body[data-stm-working-theme][data-stm-theme-intensity] .event-panel.active:after{
  opacity:var(--stm-shell-stage-wash,.18)!important;
}

/* Chrome surfaces */
body[data-stm-working-theme][data-stm-theme-intensity] .guest-app-bar{
  background:color-mix(in srgb,var(--stm-job-surface) var(--stm-shell-chrome-alpha,96%),transparent)!important;
  border-bottom-style:solid!important;
  border-bottom-width:var(--stm-shell-topbar-border-width,1px)!important;
  border-bottom-color:var(--stm-shell-topbar-border,var(--stm-job-border))!important;
}
body[data-stm-working-theme][data-stm-theme-intensity] .guest-app-bar>span{
  border-width:var(--stm-shell-topbar-border-width,1px)!important;
  border-style:solid!important;
  border-color:var(--stm-shell-topbar-border,var(--stm-job-border))!important;
}
body[data-stm-working-theme][data-stm-theme-intensity] .event-menu-wrap,
body[data-stm-working-theme][data-stm-theme-intensity] .event-menu{
  background:color-mix(in srgb,var(--stm-job-surface) var(--stm-shell-chrome-alpha,96%),transparent)!important;
  border-style:solid!important;
  border-width:0 0 var(--stm-shell-menu-border-width,1px)!important;
  border-color:var(--stm-shell-menu-border,var(--stm-job-border))!important;
}
body[data-stm-working-theme][data-stm-theme-intensity] .event-nav{
  border-style:solid!important;
  border-width:var(--stm-shell-nav-border-width,1px)!important;
  border-color:var(--stm-shell-nav-border,var(--stm-job-border))!important;
  border-radius:var(--stm-shell-control-radius,14px)!important;
}

/* Reading surfaces. These selectors intentionally outrank the older woodland,
   heritage, sports and intensity-specific !important rules. */
body[data-stm-working-theme][data-stm-theme-intensity] .content-card,
body[data-stm-working-theme][data-stm-theme-intensity] .preview-host-card,
body[data-stm-working-theme][data-stm-theme-intensity] .preview-host-metrics article,
body[data-stm-working-theme][data-stm-theme-intensity] .custom-invitation-companion94{
  width:min(var(--stm-shell-content-width,760px),calc(100% - 24px))!important;
  padding:var(--stm-shell-content-padding,28px)!important;
  background:color-mix(in srgb,var(--stm-job-surface) var(--stm-shell-card-alpha,97%),transparent)!important;
  border-style:solid!important;
  border-width:var(--stm-shell-card-border-width,1px)!important;
  border-color:var(--stm-shell-card-border,var(--stm-job-border))!important;
  border-radius:var(--stm-shell-card-radius,18px)!important;
  outline:var(--stm-shell-card-outline-width,1px) solid var(--stm-shell-card-outline,transparent)!important;
  outline-offset:-8px!important;
  box-shadow:var(--stm-shell-shadow)!important;
  backdrop-filter:blur(var(--stm-shell-card-backdrop-blur,0px))!important;
  -webkit-backdrop-filter:blur(var(--stm-shell-card-backdrop-blur,0px))!important;
  text-align:var(--stm-shell-text-align,left)!important;
}
body[data-stm-working-theme][data-stm-theme-intensity] .content-card:after{
  border-style:solid!important;
  border-width:var(--stm-shell-inner-border-width,1px)!important;
  border-color:var(--stm-shell-inner-border,var(--stm-job-border))!important;
}
body[data-stm-working-theme][data-stm-theme-intensity] .custom-invitation-frame94{
  background:color-mix(in srgb,var(--stm-job-surface) var(--stm-shell-frame-alpha,94%),transparent)!important;
  border-style:solid!important;
  border-width:var(--stm-shell-frame-border-width,1px)!important;
  border-color:var(--stm-shell-frame-border,var(--stm-job-border))!important;
  border-radius:var(--stm-shell-frame-radius,18px)!important;
  outline:0!important;
  box-shadow:var(--stm-shell-shadow)!important;
}

body[data-stm-working-theme][data-stm-theme-intensity] .detail-grid>div,
body[data-stm-working-theme][data-stm-theme-intensity] .day-of-primary>div,
body[data-stm-working-theme][data-stm-theme-intensity] .day-of-notes>div,
body[data-stm-working-theme][data-stm-theme-intensity] .event-note-block,
body[data-stm-working-theme][data-stm-theme-intensity] .guestbook-form,
body[data-stm-working-theme][data-stm-theme-intensity] .guestbook-wall blockquote,
body[data-stm-working-theme][data-stm-theme-intensity] .concierge-answer,
body[data-stm-working-theme][data-stm-theme-intensity] .important-update,
body[data-stm-working-theme][data-stm-theme-intensity] .event-inline-note,
body[data-stm-working-theme][data-stm-theme-intensity] .info-sheet-callout,
body[data-stm-working-theme][data-stm-theme-intensity] .custom-invitation-facts94>div,
body[data-stm-working-theme][data-stm-theme-intensity] .gallery-upload95,
body[data-stm-working-theme][data-stm-theme-intensity] .gallery-empty-state95{
  background:color-mix(in srgb,var(--stm-job-surface2) var(--stm-shell-tile-alpha,92%),transparent)!important;
  border-style:solid!important;
  border-width:var(--stm-shell-tile-border-width,1px)!important;
  border-color:var(--stm-shell-tile-border,var(--stm-job-border))!important;
  border-radius:var(--stm-shell-control-radius,14px)!important;
  outline:0!important;
}

/* Buttons and fields */
body[data-stm-working-theme][data-stm-theme-intensity] .event-button,
body[data-stm-working-theme][data-stm-theme-intensity] .custom-invitation-actions94 .event-button,
body[data-stm-working-theme][data-stm-theme-intensity] button[type="submit"]{
  border-style:solid!important;
  border-width:var(--stm-shell-button-border-width,1px)!important;
  border-color:var(--stm-shell-button-border,var(--stm-job-border))!important;
  border-radius:var(--stm-shell-control-radius,14px)!important;
}
body[data-stm-working-theme][data-stm-theme-intensity][style*="--stm-shell-button-style:solid"] .event-button,
body[data-stm-working-theme][data-stm-theme-intensity][style*="--stm-shell-button-style:solid"] button[type="submit"]{
  background:var(--stm-job-primary)!important;color:#fff!important;
}
body[data-stm-working-theme][data-stm-theme-intensity][style*="--stm-shell-button-style:soft"] .event-button,
body[data-stm-working-theme][data-stm-theme-intensity][style*="--stm-shell-button-style:soft"] button[type="submit"]{
  background:var(--stm-job-surface2)!important;color:var(--stm-job-text)!important;
}
body[data-stm-working-theme][data-stm-theme-intensity][style*="--stm-shell-button-style:outline"] .event-button,
body[data-stm-working-theme][data-stm-theme-intensity][style*="--stm-shell-button-style:outline"] button[type="submit"]{
  background:transparent!important;color:var(--stm-job-primary)!important;
}
body[data-stm-working-theme][data-stm-theme-intensity][style*="--stm-shell-button-style:ghost"] .event-button,
body[data-stm-working-theme][data-stm-theme-intensity][style*="--stm-shell-button-style:ghost"] button[type="submit"]{
  background:transparent!important;color:var(--stm-job-primary)!important;border-width:0!important;box-shadow:none!important;
}
body[data-stm-working-theme][data-stm-theme-intensity] input,
body[data-stm-working-theme][data-stm-theme-intensity] textarea,
body[data-stm-working-theme][data-stm-theme-intensity] select{
  border-style:solid!important;
  border-width:var(--stm-shell-input-border-width,1px)!important;
  border-color:var(--stm-shell-input-border,var(--stm-job-border))!important;
  border-radius:var(--stm-shell-control-radius,14px)!important;
}

/* Dividers and decorative rules. Focus-visible outlines are intentionally NOT removed. */
body[data-stm-working-theme][data-stm-theme-intensity] .invite-rule,
body[data-stm-working-theme][data-stm-theme-intensity] .content-card hr{
  height:var(--stm-shell-divider-width,1px)!important;
  min-height:0!important;
  border:0!important;
  background:var(--stm-shell-divider-border,var(--stm-job-border))!important;
  opacity:1!important;
}

/* Layout and typography controls */
body[data-stm-working-theme][data-stm-theme-intensity] .event-panel.active,
body[data-stm-working-theme][data-stm-theme-intensity]:not([data-stm-working-theme="minimal"]):not([data-stm-working-theme="neutral"]) .event-panel.active{
  padding-top:var(--stm-shell-page-top,34px)!important;
  padding-bottom:var(--stm-shell-page-bottom,88px)!important;
}
body[data-stm-working-theme][data-stm-theme-intensity] .content-card>*,
body[data-stm-working-theme][data-stm-theme-intensity] .detail-grid,
body[data-stm-working-theme][data-stm-theme-intensity] .day-of-primary,
body[data-stm-working-theme][data-stm-theme-intensity] .day-of-notes{
  row-gap:var(--stm-shell-section-gap,16px)!important;
}
body[data-stm-working-theme][data-stm-theme-intensity] .content-card h1,
body[data-stm-working-theme][data-stm-theme-intensity] .content-card h2,
body[data-stm-working-theme][data-stm-theme-intensity] .content-card h3,
body[data-stm-working-theme][data-stm-theme-intensity] .custom-invitation-companion94 h1{
  letter-spacing:var(--stm-shell-heading-letter-spacing,0em)!important;
}
body[data-stm-working-theme][data-stm-theme-intensity] .content-card,
body[data-stm-working-theme][data-stm-theme-intensity] .custom-invitation-companion94,
body[data-stm-working-theme][data-stm-theme-intensity] input,
body[data-stm-working-theme][data-stm-theme-intensity] textarea,
body[data-stm-working-theme][data-stm-theme-intensity] select,
body[data-stm-working-theme][data-stm-theme-intensity] button{
  line-height:var(--stm-shell-body-line-height,1.5)!important;
}

/* Explicitly neutralize legacy theme-family decorative outlines that used higher
   specificity than FIXED110 and caused "remove border lines" to appear broken. */
body[data-stm-working-theme][data-stm-theme-intensity] .content-card,
body[data-stm-working-theme][data-stm-theme-intensity] .custom-invitation-companion94,
body[data-stm-working-theme][data-stm-theme-intensity] .custom-invitation-frame94{
  outline-color:var(--stm-shell-card-outline,transparent)!important;
}

@media(max-width:919px){
  body[data-stm-working-theme][data-stm-theme-intensity] .content-card,
  body[data-stm-working-theme][data-stm-theme-intensity] .custom-invitation-companion94{
    width:min(var(--stm-shell-content-width,760px),calc(100% - 20px))!important;
    padding:min(var(--stm-shell-content-padding,28px),28px)!important;
  }
  body[data-stm-working-theme][data-stm-theme-intensity] .event-stage:before,
  body[data-stm-working-theme][data-stm-theme-intensity] .event-panel.active:before{
    background-position:var(--stm-theme-position,50% 44%)!important;
  }
}

/* FIXED111 component-level authority — individual areas can now be tuned
   without forcing the entire guest shell to share one surface or one control shape. */
body[data-stm-working-theme][data-stm-bg-style="solid"] .event-panel.active:before,
body[data-stm-working-theme][data-stm-bg-style="solid"] .event-stage:before{
  background-image:linear-gradient(var(--stm-shell-bg-color1,var(--stm-job-surface2)),var(--stm-shell-bg-color1,var(--stm-job-surface2)))!important;
  background-size:100% 100%!important;
}
body[data-stm-working-theme][data-stm-bg-style="gradient"] .event-panel.active:before,
body[data-stm-working-theme][data-stm-bg-style="gradient"] .event-stage:before{
  background-image:linear-gradient(var(--stm-shell-bg-angle,135deg),var(--stm-shell-bg-color1,var(--stm-job-surface2)),var(--stm-shell-bg-color2,var(--stm-job-surface)))!important;
  background-size:100% 100%!important;
}
body[data-stm-working-theme][data-stm-theme-intensity] .guest-app-bar,
body[data-stm-working-theme][data-stm-theme-intensity] .event-menu-wrap,
body[data-stm-working-theme][data-stm-theme-intensity] .event-menu{
  background:color-mix(in srgb,var(--stm-shell-chrome-surface,var(--stm-job-surface)) var(--stm-shell-chrome-alpha,96%),transparent)!important;
}
body[data-stm-working-theme][data-stm-theme-intensity] .event-menu{gap:var(--stm-shell-nav-gap,8px)!important}
body[data-stm-working-theme][data-stm-theme-intensity] .event-nav{
  background:var(--stm-shell-nav-bg,var(--stm-job-surface))!important;
  color:var(--stm-shell-nav-text,var(--stm-job-text))!important;
  border-radius:var(--stm-shell-nav-radius,var(--stm-shell-control-radius,14px))!important;
  padding-left:var(--stm-shell-nav-padding-x,14px)!important;
  padding-right:var(--stm-shell-nav-padding-x,14px)!important;
}
body[data-stm-working-theme][data-stm-theme-intensity] .event-nav.active{
  background:var(--stm-shell-nav-active-bg,var(--stm-job-primary))!important;
  color:var(--stm-shell-nav-active-text,#fff)!important;
}
body[data-stm-working-theme][data-stm-theme-intensity] .content-card,
body[data-stm-working-theme][data-stm-theme-intensity] .preview-host-card,
body[data-stm-working-theme][data-stm-theme-intensity] .preview-host-metrics article,
body[data-stm-working-theme][data-stm-theme-intensity] .custom-invitation-companion94{
  background:color-mix(in srgb,var(--stm-shell-card-surface,var(--stm-job-surface)) var(--stm-shell-card-alpha,97%),transparent)!important;
}
body[data-stm-working-theme][data-stm-theme-intensity] .custom-invitation-frame94,
body[data-stm-working-theme][data-stm-theme-intensity] .invite-art{
  background:color-mix(in srgb,var(--stm-shell-frame-surface,var(--stm-job-surface)) var(--stm-shell-frame-alpha,94%),transparent)!important;
}
body[data-stm-working-theme][data-stm-theme-intensity] .detail-grid>div,
body[data-stm-working-theme][data-stm-theme-intensity] .day-of-primary>div,
body[data-stm-working-theme][data-stm-theme-intensity] .day-of-notes>div,
body[data-stm-working-theme][data-stm-theme-intensity] .event-note-block,
body[data-stm-working-theme][data-stm-theme-intensity] .guestbook-form,
body[data-stm-working-theme][data-stm-theme-intensity] .guestbook-wall blockquote,
body[data-stm-working-theme][data-stm-theme-intensity] .concierge-answer,
body[data-stm-working-theme][data-stm-theme-intensity] .important-update,
body[data-stm-working-theme][data-stm-theme-intensity] .event-inline-note,
body[data-stm-working-theme][data-stm-theme-intensity] .info-sheet-callout,
body[data-stm-working-theme][data-stm-theme-intensity] .custom-invitation-facts94>div,
body[data-stm-working-theme][data-stm-theme-intensity] .event-info-list>div,
body[data-stm-working-theme][data-stm-theme-intensity] .memories-referral{
  background:color-mix(in srgb,var(--stm-shell-tile-surface,var(--stm-job-surface2)) var(--stm-shell-tile-alpha,92%),transparent)!important;
}
body[data-stm-working-theme][data-stm-theme-intensity] .content-card h1,
body[data-stm-working-theme][data-stm-theme-intensity] .content-card h2,
body[data-stm-working-theme][data-stm-theme-intensity] .content-card h3,
body[data-stm-working-theme][data-stm-theme-intensity] .custom-invitation-companion94 h1,
body[data-stm-working-theme][data-stm-theme-intensity] .custom-invitation-companion94 h2{
  color:var(--stm-shell-heading-color,var(--stm-job-text))!important;
}
body[data-stm-working-theme][data-stm-theme-intensity] .event-eyebrow,
body[data-stm-working-theme][data-stm-theme-intensity] .custom-invitation-facts94 span{
  color:var(--stm-shell-eyebrow-color,var(--stm-job-accent))!important;
  display:var(--stm-shell-eyebrow-display,block)!important;
}
body[data-stm-working-theme][data-stm-theme-intensity] a:not(.event-button):not(.event-nav){color:var(--stm-shell-link-color,var(--stm-job-primary))!important}
body[data-stm-working-theme][data-stm-theme-intensity] .event-button,
body[data-stm-working-theme][data-stm-theme-intensity] button[type="submit"]{
  min-height:var(--stm-shell-button-height,48px)!important;
  padding-left:var(--stm-shell-button-padding-x,18px)!important;
  padding-right:var(--stm-shell-button-padding-x,18px)!important;
  border-radius:var(--stm-shell-button-radius,var(--stm-shell-control-radius,14px))!important;
}
body[data-stm-working-theme][data-stm-theme-intensity][style*="--stm-shell-button-style:solid"] .event-button:not(.event-button--secondary),
body[data-stm-working-theme][data-stm-theme-intensity][style*="--stm-shell-button-style:solid"] button[type="submit"]{
  background:var(--stm-shell-button-bg,var(--stm-job-primary))!important;color:var(--stm-shell-button-text,#fff)!important;
}
body[data-stm-working-theme][data-stm-theme-intensity][style*="--stm-shell-button-style:soft"] .event-button:not(.event-button--secondary),
body[data-stm-working-theme][data-stm-theme-intensity][style*="--stm-shell-button-style:soft"] button[type="submit"]{
  background:color-mix(in srgb,var(--stm-shell-button-bg,var(--stm-job-primary)) 16%,var(--stm-shell-card-surface,var(--stm-job-surface)))!important;color:var(--stm-shell-button-bg,var(--stm-job-primary))!important;
}
body[data-stm-working-theme][data-stm-theme-intensity][style*="--stm-shell-button-style:outline"] .event-button:not(.event-button--secondary),
body[data-stm-working-theme][data-stm-theme-intensity][style*="--stm-shell-button-style:outline"] button[type="submit"],
body[data-stm-working-theme][data-stm-theme-intensity][style*="--stm-shell-button-style:ghost"] .event-button:not(.event-button--secondary),
body[data-stm-working-theme][data-stm-theme-intensity][style*="--stm-shell-button-style:ghost"] button[type="submit"]{
  color:var(--stm-shell-button-bg,var(--stm-job-primary))!important;
}
body[data-stm-working-theme][data-stm-theme-intensity] .event-button--secondary{
  background:var(--stm-shell-secondary-button-bg,var(--stm-job-surface2))!important;
  color:var(--stm-shell-secondary-button-text,var(--stm-job-text))!important;
}
body[data-stm-working-theme][data-stm-theme-intensity] input,
body[data-stm-working-theme][data-stm-theme-intensity] textarea,
body[data-stm-working-theme][data-stm-theme-intensity] select{
  background:var(--stm-shell-field-bg,var(--stm-job-surface))!important;
  color:var(--stm-shell-field-text,var(--stm-job-text))!important;
  padding:var(--stm-shell-field-padding,13px)!important;
  border-radius:var(--stm-shell-field-radius,var(--stm-shell-control-radius,14px))!important;
}
body[data-stm-working-theme][data-stm-theme-intensity][style*="--stm-shell-input-style:minimal"] input,
body[data-stm-working-theme][data-stm-theme-intensity][style*="--stm-shell-input-style:minimal"] textarea,
body[data-stm-working-theme][data-stm-theme-intensity][style*="--stm-shell-input-style:minimal"] select{background:transparent!important;border-radius:0!important}
body[data-stm-working-theme][data-stm-theme-intensity] .event-menu-head{display:var(--stm-shell-menu-head-display,flex)!important}
body[data-stm-working-theme][data-stm-theme-intensity] .custom-invitation-companion94{display:var(--stm-shell-companion-display,block)!important}
body[data-stm-working-theme][data-stm-theme-intensity] .custom-invitation-frame94{padding:var(--stm-shell-frame-padding,10px)!important}
body[data-stm-working-theme][data-stm-theme-intensity] .custom-invitation-artifact{width:min(100%,var(--stm-shell-frame-max-width,560px))!important;max-width:var(--stm-shell-frame-max-width,560px)!important}
body[data-stm-working-theme][data-stm-theme-intensity] .custom-invitation-stage94{grid-template-columns:minmax(280px,var(--stm-shell-frame-max-width,560px)) minmax(260px,390px)!important}
body[data-stm-working-theme][data-stm-theme-intensity][data-stm-companion="0"] .custom-invitation-stage94{grid-template-columns:minmax(280px,var(--stm-shell-frame-max-width,560px))!important;width:min(calc(var(--stm-shell-frame-max-width,560px) + 32px),calc(100% - 24px))!important}
body[data-stm-working-theme][data-stm-theme-intensity] .event-panel.active{padding-left:var(--stm-shell-page-side,16px)!important;padding-right:var(--stm-shell-page-side,16px)!important}

/* Hard master gate. This is deliberately broader than the individual controls:
   when Admin says REMOVE ALL LINES, no legacy shell/theme border is allowed to survive. */
body[data-stm-shell-lines="0"] .guest-app-bar,
body[data-stm-shell-lines="0"] .guest-app-bar>span,
body[data-stm-shell-lines="0"] .event-menu-wrap,
body[data-stm-shell-lines="0"] .event-menu,
body[data-stm-shell-lines="0"] .event-nav,
body[data-stm-shell-lines="0"] .invite-art,
body[data-stm-shell-lines="0"] .content-card,
body[data-stm-shell-lines="0"] .content-card:after,
body[data-stm-shell-lines="0"] .detail-grid>div,
body[data-stm-shell-lines="0"] .event-info-list,
body[data-stm-shell-lines="0"] .event-info-list>div,
body[data-stm-shell-lines="0"] .event-qr,
body[data-stm-shell-lines="0"] .event-qr img,
body[data-stm-shell-lines="0"] .capacity-note,
body[data-stm-shell-lines="0"] .event-gallery figure,
body[data-stm-shell-lines="0"] .event-gallery img,
body[data-stm-shell-lines="0"] .gallery-upload,
body[data-stm-shell-lines="0"] .day-of-primary>div,
body[data-stm-shell-lines="0"] .day-of-notes>div,
body[data-stm-shell-lines="0"] .event-note-block,
body[data-stm-shell-lines="0"] .important-update,
body[data-stm-shell-lines="0"] .event-inline-note,
body[data-stm-shell-lines="0"] .concierge-quick-prompts button,
body[data-stm-shell-lines="0"] .concierge-answer,
body[data-stm-shell-lines="0"] .memories-referral,
body[data-stm-shell-lines="0"] .preview-host-badge,
body[data-stm-shell-lines="0"] .preview-host-metrics article,
body[data-stm-shell-lines="0"] .preview-host-card,
body[data-stm-shell-lines="0"] .preview-host-card-head button,
body[data-stm-shell-lines="0"] .preview-host-table,
body[data-stm-shell-lines="0"] .preview-host-row,
body[data-stm-shell-lines="0"] .preview-host-tool-list span,
body[data-stm-shell-lines="0"] .preview-host-questions,
body[data-stm-shell-lines="0"] .event-brand-credit,
body[data-stm-shell-lines="0"] .guest-invite-summary>div,
body[data-stm-shell-lines="0"] .preview-gallery-sample figure,
body[data-stm-shell-lines="0"] .event-language-switch,
body[data-stm-shell-lines="0"] .event-language-switch a,
body[data-stm-shell-lines="0"] .guestbook-wall blockquote,
body[data-stm-shell-lines="0"] .guestbook-form,
body[data-stm-shell-lines="0"] .custom-invitation-frame94,
body[data-stm-shell-lines="0"] .custom-invitation-companion94,
body[data-stm-shell-lines="0"] .custom-invitation-facts94>div,
body[data-stm-shell-lines="0"] .event-button,
body[data-stm-shell-lines="0"] input,
body[data-stm-shell-lines="0"] textarea,
body[data-stm-shell-lines="0"] select,
body[data-stm-shell-lines="0"] .preview-tools-toggle,
body[data-stm-shell-lines="0"] .preview-tools-collapsible,
body[data-stm-shell-lines="0"] .preview-tool-button{
  border-width:0!important;border-color:transparent!important;
}
body[data-stm-shell-lines="0"] .content-card,
body[data-stm-shell-lines="0"] .custom-invitation-companion94,
body[data-stm-shell-lines="0"] .custom-invitation-frame94,
body[data-stm-shell-lines="0"] .invite-art,
body[data-stm-shell-lines="0"] .detail-grid>div,
body[data-stm-shell-lines="0"] .custom-invitation-facts94>div{outline:0!important}
body[data-stm-shell-lines="0"] .content-card:after,
body[data-stm-shell-lines="0"] .invite-art:before,
body[data-stm-shell-lines="0"] .invite-art:after{border-width:0!important;border-color:transparent!important}
body[data-stm-shell-lines="0"] .invite-rule,
body[data-stm-shell-lines="0"] .content-card hr{height:0!important;min-height:0!important;background:transparent!important;border:0!important}
body[data-stm-shell-lines="0"] .event-nav[data-target="rsvp"]:not(.active){box-shadow:none!important}

/* FIXED111 — explicit theme-decoration and background-pattern controls. */
body[data-stm-theme-decorations="0"] .content-card:before,
body[data-stm-theme-decorations="0"] .custom-invitation-companion94:before{
  content:none!important;display:none!important;background:none!important;border:0!important;box-shadow:none!important;
}
/* Several legacy theme families draw their "background" with repeating line patterns.
   This switch removes only those patterns while keeping the page/background color intact. */
body[data-stm-background-pattern="0"][data-stm-working-theme="western"] .event-panel{
  background:linear-gradient(145deg,color-mix(in srgb,var(--stm-job-surface2) 94%,white),var(--stm-job-surface2))!important;
}
body[data-stm-background-pattern="0"][data-stm-working-theme="heritage"] .event-panel{
  background:linear-gradient(145deg,#f3ead8,#e7dbc7)!important;
}
body[data-stm-background-pattern="0"][data-stm-working-theme="coastal"]:not([data-stm-artwork="1"]) .event-panel:before{
  content:none!important;background:none!important;box-shadow:none!important;
}
/* The master line command also strips line-only pseudo decorations from cards.
   This closes the gap that made the old REMOVE BORDER LINES action look ineffective. */
body[data-stm-shell-lines="0"] .content-card:before,
body[data-stm-shell-lines="0"] .custom-invitation-companion94:before{
  border:0!important;outline:0!important;box-shadow:none!important;
}
