/* ECM v1.32.3 — Forma public light/dark theme layer. */
:root{
  --forma-accent:#1E7B8D;
  --forma-accent-hover:#155E6C;
  --forma-page:#0B0B0B;
  --forma-panel:#141414;
  --forma-panel-2:#191919;
  --forma-field:#0D0D0D;
  --forma-text:#FFFFFF;
  --forma-text-2:#B3B3B3;
  --forma-muted:#7A7A7A;
  --forma-border:#2F2F2F;
  --forma-shadow:0 12px 30px rgba(0,0,0,.22);
}
html[data-forma-theme="light"]{
  --forma-page:#F5F5F2;
  --forma-panel:#FFFFFF;
  --forma-panel-2:#F0F0EC;
  --forma-field:#FFFFFF;
  --forma-text:#151515;
  --forma-text-2:#4E4E4A;
  --forma-muted:#777772;
  --forma-border:#D8D8D2;
  --forma-shadow:0 10px 28px rgba(18,18,18,.08);
  --ecm-page-bg:#F5F5F2!important;
  --ecm-card-bg:#FFFFFF!important;
  --ecm-card:#FFFFFF!important;
  --ecm-surface:#F0F0EC!important;
  --ecm-text:#151515!important;
  --ecm-muted:#686863!important;
  --ecm-border:#D8D8D2!important;
  --ecm-input-bg:#FFFFFF!important;
  color-scheme:light;
}
html[data-forma-theme="dark"]{color-scheme:dark}

/* The public canvas changes with the preference; Forma Manager is excluded in PHP. */
html[data-forma-theme="light"] body{background:var(--forma-page)!important;color:var(--forma-text)!important;transition:background-color .2s ease,color .2s ease}
html[data-forma-theme="light"] body a{accent-color:var(--forma-accent)}

/* Toggle: floating by default and reusable in a header with [ecm_theme_toggle]. */
.forma-theme-toggle-dock{position:fixed;z-index:99997;left:18px;bottom:18px;direction:rtl}
.forma-theme-toggle{display:inline-flex!important;align-items:center!important;gap:8px!important;min-height:34px!important;margin:0!important;padding:5px 8px!important;border:1px solid var(--forma-border)!important;border-radius:999px!important;background:var(--forma-panel)!important;color:var(--forma-text)!important;box-shadow:var(--forma-shadow)!important;font:inherit!important;font-size:10px!important;font-weight:700!important;line-height:1!important;cursor:pointer!important;transition:background .18s ease,border-color .18s ease,color .18s ease!important}
.forma-theme-toggle:hover{border-color:var(--forma-accent)!important}
.forma-theme-toggle-track{position:relative;display:inline-flex;width:42px;height:22px;align-items:center;justify-content:space-between;padding:0 5px;border-radius:999px;background:var(--forma-panel-2);color:var(--forma-muted);font-size:11px;line-height:1}
.forma-theme-toggle-knob{position:absolute;top:3px;right:3px;width:16px;height:16px;border-radius:50%;background:var(--forma-accent);box-shadow:0 1px 5px rgba(0,0,0,.2);transition:transform .2s ease}
html[data-forma-theme="light"] .forma-theme-toggle-knob{transform:translateX(-20px)}
.forma-theme-toggle-text{white-space:nowrap}
.forma-theme-toggle-inline{box-shadow:none!important}
@media(max-width:600px){.forma-theme-toggle-dock{left:10px;bottom:10px}.forma-theme-toggle-floating .forma-theme-toggle-text{display:none}.forma-theme-toggle-floating{padding:5px!important}}

.ecm-event-invitation-response{margin:28px 0;padding:20px;border:1px solid var(--forma-border);border-radius:14px;background:var(--forma-panel);color:var(--forma-text)}.ecm-event-invitation-response>strong{display:block;font-size:18px}.ecm-event-invitation-response p{color:var(--forma-text-2);margin:8px 0 14px}.ecm-event-invitation-response>div{display:flex;gap:8px;flex-wrap:wrap}.ecm-event-invitation-response a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 14px;border:1px solid var(--forma-border);border-radius:9px;color:var(--forma-text)!important;text-decoration:none}.ecm-event-invitation-response a:hover{border-color:var(--forma-accent);color:var(--forma-accent)!important}@media(max-width:600px){.ecm-event-invitation-response>div{display:grid;grid-template-columns:1fr}.ecm-event-invitation-response a{width:100%}}

/* Existing ECM components already use variables; this catches older hard-coded public surfaces. */
html[data-forma-theme="light"] .ecm-call-card,
html[data-forma-theme="light"] .ecm-my-card,
html[data-forma-theme="light"] .ecm-submission-form,
html[data-forma-theme="light"] .ecm-call-details,
html[data-forma-theme="light"] .ecm-event-summary,
html[data-forma-theme="light"] .ecm-artist-event-item,
html[data-forma-theme="light"] .ecm-profile-project-card{background:var(--forma-panel)!important;border-color:var(--forma-border)!important;color:var(--forma-text)!important}
html[data-forma-theme="light"] .ecm-profile-project-media{background:var(--forma-panel-2)!important}
html[data-forma-theme="light"] .ecm-profile-project-card h3,
html[data-forma-theme="light"] .ecm-profile-project-card h3 a,
html[data-forma-theme="light"] .ecm-profile-project-title-en{color:var(--forma-text)!important}
html[data-forma-theme="light"] .ecm-profile-project-year{color:var(--forma-muted)!important}

/* Photography directory. Dedicated directory CSS loads late, so these selectors intentionally outrank it. */
html[data-forma-theme="light"] .forma-photo-directory{--fpd-border:var(--forma-border)!important;color:var(--forma-text)!important}
html[data-forma-theme="light"] .forma-photo-directory-head p{color:var(--forma-text-2)!important}
html[data-forma-theme="light"] .forma-photo-search input,
html[data-forma-theme="light"] .forma-photo-filter-row select,
html[data-forma-theme="light"] .forma-photo-directory-pagination button,
html[data-forma-theme="light"] .forma-photo-directory-pagination span{background:var(--forma-field)!important;color:var(--forma-text)!important;border-color:var(--forma-border)!important}
html[data-forma-theme="light"] .forma-photo-search input::placeholder{color:var(--forma-muted)!important}
html[data-forma-theme="light"] .forma-photo-filter-row{background:var(--forma-panel-2)!important;border-color:var(--forma-border)!important}
html[data-forma-theme="light"] .forma-photo-directory-card,
html[data-forma-theme="light"] .forma-photo-directory-copy,
html[data-forma-theme="light"] .forma-photo-directory-empty{background:var(--forma-panel)!important;border-color:var(--forma-border)!important}
html[data-forma-theme="light"] .forma-photo-directory-media{background:var(--forma-panel-2)!important;color:var(--forma-muted)!important}
html[data-forma-theme="light"] .forma-photo-directory-copy h3 a{color:var(--forma-text)!important}
html[data-forma-theme="light"] .forma-photo-directory-artist,
html[data-forma-theme="light"] .forma-photo-directory-artist a{color:var(--forma-text-2)!important}
html[data-forma-theme="light"] .forma-photo-directory-year{color:var(--forma-muted)!important}

/* Events directory. */
html[data-forma-theme="light"] .forma-events-directory{--fed-border:var(--forma-border)!important;color:var(--forma-text)!important}
html[data-forma-theme="light"] .forma-events-directory-head p{color:var(--forma-text-2)!important}
html[data-forma-theme="light"] .forma-events-search input,
html[data-forma-theme="light"] .forma-events-filter-row select,
html[data-forma-theme="light"] .forma-events-directory-pagination a{background:var(--forma-field)!important;color:var(--forma-text)!important;border-color:var(--forma-border)!important}
html[data-forma-theme="light"] .forma-events-search input::placeholder{color:var(--forma-muted)!important}
html[data-forma-theme="light"] .forma-events-filter-row{background:var(--forma-panel-2)!important;border-color:var(--forma-border)!important}
html[data-forma-theme="light"] .forma-events-directory-card,
html[data-forma-theme="light"] .forma-events-directory-copy,
html[data-forma-theme="light"] .forma-events-directory-empty{background:var(--forma-panel)!important;border-color:var(--forma-border)!important}
html[data-forma-theme="light"] .forma-events-directory-media{background:var(--forma-panel-2)!important;color:var(--forma-muted)!important}
html[data-forma-theme="light"] .forma-events-directory-copy h3{color:var(--forma-text)!important}
html[data-forma-theme="light"] .forma-events-directory-person{color:var(--forma-text-2)!important}
html[data-forma-theme="light"] .forma-events-directory-meta{color:var(--forma-muted)!important}
html[data-forma-theme="light"] .forma-events-directory-action{color:var(--forma-accent)!important;border-color:#91bcc4!important;background:transparent!important}
html[data-forma-theme="light"] .forma-events-directory-action:hover{color:#fff!important;background:var(--forma-accent)!important}

/* Public Film / Photography / Event Report renderers. */
html[data-forma-theme="light"] .forma-public-film,
html[data-forma-theme="light"] .forma-public-photography,
html[data-forma-theme="light"] .forma-public-event{color:var(--forma-text)!important}
html[data-forma-theme="light"] .forma-public-film *,
html[data-forma-theme="light"] .forma-public-photography *,
html[data-forma-theme="light"] .forma-public-event *{border-color:var(--forma-border)}
html[data-forma-theme="light"] .forma-public-film :is(.forma-film-card,.forma-film-section,.forma-film-panel),
html[data-forma-theme="light"] .forma-public-photography :is(.forma-photo-card,.forma-photo-section,.forma-photo-panel),
html[data-forma-theme="light"] .forma-public-event :is(.forma-event-card,.forma-event-section,.forma-event-panel){background:var(--forma-panel)!important;color:var(--forma-text)!important;border-color:var(--forma-border)!important}
html[data-forma-theme="light"] .forma-public-film :is(h1,h2,h3,h4,strong),
html[data-forma-theme="light"] .forma-public-photography :is(h1,h2,h3,h4,strong),
html[data-forma-theme="light"] .forma-public-event :is(h1,h2,h3,h4,strong){color:var(--forma-text)!important}
html[data-forma-theme="light"] .forma-public-film :is(p,li,dd),
html[data-forma-theme="light"] .forma-public-photography :is(p,li,dd),
html[data-forma-theme="light"] .forma-public-event :is(p,li,dd){color:var(--forma-text-2)!important}

/* Ultimate Member public profile: keep its structure, lighten ECM-owned project/event sections. */
html[data-forma-theme="light"] body.ecm-um-profile-page .ecm-profile-project-manager{color:var(--forma-text)!important}
html[data-forma-theme="light"] body.ecm-um-profile-page .ecm-profile-project-manager-row{border-color:var(--forma-border)!important}
html[data-forma-theme="light"] body.ecm-um-profile-page .ecm-profile-project-manager-thumb,
html[data-forma-theme="light"] body.ecm-um-profile-page .ecm-profile-project-empty{background:var(--forma-panel)!important;border-color:var(--forma-border)!important;color:var(--forma-muted)!important}
html[data-forma-theme="light"] body.ecm-um-profile-page .ecm-profile-project-manager-info h3{color:var(--forma-text)!important}
html[data-forma-theme="light"] body.ecm-um-profile-page .ecm-profile-project-manager-meta{color:var(--forma-muted)!important}

/* v1.32.4 single Event shell. */
html[data-forma-theme="light"] .forma-events-directory-title-link{color:var(--forma-text)!important}
html[data-forma-theme="light"] .forma-events-directory-title-link:hover,
html[data-forma-theme="light"] .forma-events-directory-view{color:var(--forma-accent)!important}
html[data-forma-theme="light"] .forma-public-event{--fpe-border:var(--forma-border)!important;color:var(--forma-text)!important}
html[data-forma-theme="light"] .forma-public-event-poster{background:var(--forma-panel-2)!important;border-color:var(--forma-border)!important}
html[data-forma-theme="light"] .forma-public-event-back{color:var(--forma-muted)!important}
html[data-forma-theme="light"] .forma-public-event h1,
html[data-forma-theme="light"] .forma-public-event-section h3{color:var(--forma-text)!important}
html[data-forma-theme="light"] .forma-public-event-topic,
html[data-forma-theme="light"] .forma-public-event-detail dd,
html[data-forma-theme="light"] .forma-public-event-content,
html[data-forma-theme="light"] .forma-public-event-content p,
html[data-forma-theme="light"] .forma-public-event-copy-block p{color:var(--forma-text-2)!important}
html[data-forma-theme="light"] .forma-public-event-detail dt{color:var(--forma-muted)!important}
html[data-forma-theme="light"] .forma-public-event-copy-block{border-color:var(--forma-border)!important}
html[data-forma-theme="light"] .forma-public-event-secondary{color:var(--forma-accent)!important;border-color:#91bcc4!important}
html[data-forma-theme="light"] .forma-public-event-secondary:hover{color:#fff!important;background:var(--forma-accent)!important}

/* v1.32.5 — shared appearance across Forma Manager and Ultimate Member profiles. */

/* Manager: keep the same workspace hierarchy while allowing the global appearance switch. */
html[data-forma-theme="light"] .ecm-manager,
html[data-forma-theme="light"] .ecm-manager-request{
  --fm-bg:#F5F5F2;
  --fm-panel:#FFFFFF;
  --fm-panel2:#F0F0EC;
  --fm-border:#D8D8D2;
  --fm-text:#151515;
  --fm-secondary:#4E4E4A;
  --fm-muted:#777772;
  --fm-teal:#1E7B8D;
  --fm-teal-hover:#155E6C;
  color:var(--fm-text)!important;
}
html[data-forma-theme="light"] .ecm-manager{background:var(--fm-bg)!important;border-color:#E0E0DB!important;box-shadow:0 14px 38px rgba(18,18,18,.06)!important}
html[data-forma-theme="light"] .ecm-manager-sidebar{background:#FAFAF7!important;border-color:var(--fm-border)!important}
html[data-forma-theme="light"] .ecm-manager-brand{color:var(--fm-text)!important}
html[data-forma-theme="light"] .ecm-manager-brand span,
html[data-forma-theme="light"] .ecm-manager-nav-label{color:var(--fm-muted)!important}
html[data-forma-theme="light"] .ecm-manager-nav-item{color:#666661!important}
html[data-forma-theme="light"] .ecm-manager-nav-item:hover{background:#ECECE7!important;color:var(--fm-text)!important}
html[data-forma-theme="light"] .ecm-manager-nav-item.is-active{background:#E3EEF0!important;color:#123B43!important;box-shadow:inset -2px 0 0 var(--fm-teal)!important}
html[data-forma-theme="light"] .ecm-manager-side-footer{border-color:var(--fm-border)!important;color:var(--fm-muted)!important}
html[data-forma-theme="light"] .ecm-manager-main,
html[data-forma-theme="light"] .ecm-manager-content{background:var(--fm-bg)!important;color:var(--fm-text)!important}
html[data-forma-theme="light"] .ecm-manager-topbar{background:rgba(245,245,242,.96)!important;border-color:var(--fm-border)!important;color:var(--fm-text)!important}
html[data-forma-theme="light"] .ecm-manager-user,
html[data-forma-theme="light"] .ecm-manager-hero h1,
html[data-forma-theme="light"] .ecm-manager-section-head h2,
html[data-forma-theme="light"] .ecm-manager-panel-head h2,
html[data-forma-theme="light"] .ecm-manager-panel-head h3,
html[data-forma-theme="light"] .ecm-manager-stat strong,
html[data-forma-theme="light"] .ecm-manager-quick strong,
html[data-forma-theme="light"] .ecm-manager-form-title h3,
html[data-forma-theme="light"] .ecm-manager-empty h2,
html[data-forma-theme="light"] .ecm-manager-large-value{color:var(--fm-text)!important}
html[data-forma-theme="light"] .ecm-manager-hero p,
html[data-forma-theme="light"] .ecm-manager-stat span,
html[data-forma-theme="light"] .ecm-manager-quick span,
html[data-forma-theme="light"] .ecm-manager-form-title p,
html[data-forma-theme="light"] .ecm-manager-muted,
html[data-forma-theme="light"] .ecm-manager-empty p,
html[data-forma-theme="light"] .ecm-manager-help{color:var(--fm-muted)!important}
html[data-forma-theme="light"] .ecm-manager-stat,
html[data-forma-theme="light"] .ecm-manager-quick,
html[data-forma-theme="light"] .ecm-manager-panel,
html[data-forma-theme="light"] .ecm-manager-form-card,
html[data-forma-theme="light"] .ecm-manager-empty,
html[data-forma-theme="light"] .ecm-manager-embedded{background:var(--fm-panel)!important;border-color:var(--fm-border)!important;color:var(--fm-text)!important;box-shadow:0 6px 20px rgba(18,18,18,.035)!important}
html[data-forma-theme="light"] .ecm-manager-stat:hover,
html[data-forma-theme="light"] .ecm-manager-quick:hover{border-color:#9FC4CB!important}
html[data-forma-theme="light"] .ecm-manager-table-wrap{background:var(--fm-panel)!important;border-color:var(--fm-border)!important}
html[data-forma-theme="light"] .ecm-manager-table{color:var(--fm-secondary)!important}
html[data-forma-theme="light"] .ecm-manager-table th{background:#F0F0EC!important;color:#595955!important;border-color:var(--fm-border)!important}
html[data-forma-theme="light"] .ecm-manager-table td{background:#FFFFFF!important;color:#4E4E4A!important;border-color:#E5E5E0!important}
html[data-forma-theme="light"] .ecm-manager-table tr:hover td{background:#FAFAF7!important}
html[data-forma-theme="light"] .ecm-manager-link,
html[data-forma-theme="light"] .ecm-manager-back{color:var(--fm-teal)!important}
html[data-forma-theme="light"] .ecm-manager-secondary{background:#FFFFFF!important;color:#3E3E3A!important;border-color:var(--fm-border)!important}
html[data-forma-theme="light"] .ecm-manager-secondary:hover{border-color:var(--fm-teal)!important;color:var(--fm-teal)!important}
html[data-forma-theme="light"] .ecm-manager-form-title{border-color:var(--fm-border)!important}
html[data-forma-theme="light"] .ecm-manager-form-title>span{border-color:#91BCC4!important;color:#1E7B8D!important;background:#EDF5F6!important}
html[data-forma-theme="light"] .ecm-manager-fields label{color:#555550!important}
html[data-forma-theme="light"] .ecm-manager-fields input,
html[data-forma-theme="light"] .ecm-manager-fields select,
html[data-forma-theme="light"] .ecm-manager-fields textarea{background:#FFFFFF!important;border-color:#CECEC8!important;color:#151515!important}
html[data-forma-theme="light"] .ecm-manager-fields input::placeholder,
html[data-forma-theme="light"] .ecm-manager-fields textarea::placeholder{color:#92928C!important}
html[data-forma-theme="light"] .ecm-manager-fields input:focus,
html[data-forma-theme="light"] .ecm-manager-fields select:focus,
html[data-forma-theme="light"] .ecm-manager-fields textarea:focus{border-color:#1E7B8D!important;box-shadow:0 0 0 2px rgba(30,123,141,.12)!important}
html[data-forma-theme="light"] .ecm-manager-poster-field{background:#FAFAF7!important;border-color:var(--fm-border)!important}
html[data-forma-theme="light"] .ecm-manager-poster-preview{background:#F0F0EC!important;border-color:#C8C8C2!important;color:var(--fm-muted)!important}
html[data-forma-theme="light"] .ecm-manager-cap-list span{border-color:var(--fm-border)!important;color:#85857F!important;background:#FAFAF7!important}
html[data-forma-theme="light"] .ecm-manager-cap-list span.is-on{border-color:#91BCC4!important;color:#155E6C!important;background:#EAF3F4!important}
html[data-forma-theme="light"] .ecm-manager-notice{background:#EAF4EE!important;border-color:#B7D7C5!important;color:#315F44!important}
html[data-forma-theme="light"] .ecm-manager-attention{background:#FFF8E8!important;border-color:#E2D2A4!important;color:#705D2D!important}
html[data-forma-theme="light"] .ecm-manager-request{background:var(--forma-page)!important;border-color:var(--fm-border)!important}
html[data-forma-theme="light"] .ecm-manager-request-card{background:#FFFFFF!important;border-color:var(--fm-border)!important;color:var(--fm-text)!important;box-shadow:0 14px 40px rgba(18,18,18,.07)!important}
html[data-forma-theme="light"] .ecm-manager-request-card h1{color:var(--fm-text)!important}
html[data-forma-theme="light"] .ecm-manager-request-card p{color:var(--fm-secondary)!important}
html[data-forma-theme="light"] .ecm-manager-request-status{background:#FFF7DF!important;border-color:#D7C791!important;color:#705D2D!important}

/* Canonical Call/Event support repeaters embedded in Manager. */
html[data-forma-theme="light"] .ecm-manager-legacy-support .ecm-event-support-wrap{color:var(--fm-secondary)!important}
html[data-forma-theme="light"] .ecm-manager-legacy-support h3,
html[data-forma-theme="light"] .ecm-manager-legacy-support h4{color:var(--fm-text)!important}
html[data-forma-theme="light"] .ecm-manager-legacy-support .description{color:var(--fm-muted)!important}

/* v1.40.1 — unified responsive language for phone and tablet. Desktop geometry is unchanged. */
@media (max-width:1024px){
  html,body{max-width:100%;overflow-x:hidden}
  body :is(.ecm-calls-archive,.forma-events-directory,.forma-photo-directory,.forma-media-archive,.forma-media-story,.forma-public-event,.forma-public-film,.forma-public-photography){box-sizing:border-box!important}
  .ecm-calls-archive,.forma-media-archive,.forma-media-story,.forma-public-event,.forma-public-film,.forma-public-photography{width:min(100% - 32px,1120px)!important;margin-right:auto!important;margin-left:auto!important;right:auto!important;transform:none!important}
  .ecm-archive-grid,.forma-media-grid,.forma-events-directory-grid,.forma-photo-directory-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important}
  .forma-media-card:first-child{grid-template-columns:minmax(0,1.15fr) minmax(260px,.85fr)!important;gap:20px!important}
  .ecm-manager{width:100%!important;margin:12px 0!important;border-radius:14px!important}
  .ecm-manager-sidebar{padding:14px!important}
  .ecm-manager-brand{padding:2px 8px 14px!important}
  .ecm-manager-nav-group{scrollbar-width:thin;padding-bottom:3px}
  .ecm-manager-nav-item{min-height:42px;padding:10px 12px!important}
  .ecm-manager-topbar{padding:16px 22px!important}
  .ecm-manager-content{padding:22px!important}
  .ecm-manager-table-wrap{-webkit-overflow-scrolling:touch;border-radius:10px}
  .ecm-manager-table{min-width:720px}
  .ecm-health-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.ecm-um-profile-page .um-profile.um,body.ecm-um-profile-page .um-profile,.ecm-profile-extras{max-width:calc(100% - 28px)!important}
}

@media (max-width:767px){
  :root{--forma-mobile-gutter:14px;--forma-mobile-radius:10px}
  body{font-size:15px;-webkit-text-size-adjust:100%}
  img,video,iframe{max-width:100%;height:auto}
  .forma-theme-toggle-dock{display:block!important;position:fixed!important;z-index:2147483000!important;left:max(10px,env(safe-area-inset-left))!important;bottom:max(12px,env(safe-area-inset-bottom))!important}
  .forma-theme-toggle-floating{display:inline-flex!important;width:46px!important;height:46px!important;min-height:46px!important;padding:0!important;justify-content:center!important;background:var(--forma-panel)!important;border:1px solid var(--forma-border)!important;box-shadow:0 8px 25px rgba(0,0,0,.28)!important}
  .forma-theme-toggle-floating .forma-theme-toggle-track{width:36px!important;height:22px!important}
  .forma-theme-toggle-floating .forma-theme-toggle-text{display:none!important}
  .ecm-user-header{z-index:2147482990!important;gap:2px!important}
  .ecm-user-header__icon-button,.ecm-user-header__account-toggle{width:38px!important;min-width:38px!important;max-width:38px!important;height:38px!important;min-height:38px!important}
  .ecm-user-header__avatar,.ecm-user-header__avatar img{width:32px!important;height:32px!important;min-width:32px!important}
  .ecm-user-header__panel{top:calc(56px + env(safe-area-inset-top))!important;right:10px!important;left:10px!important;width:auto!important;max-height:calc(100dvh - 72px - env(safe-area-inset-bottom))!important;border-radius:12px!important}
  .ecm-user-header__notification{padding:14px!important}
  .ecm-user-header__notification-list{max-height:calc(100dvh - 190px)!important}

  .ecm-calls-archive,.forma-events-directory,.forma-photo-directory,.forma-media-archive,.forma-media-story,.forma-public-event,.forma-public-film,.forma-public-photography{width:calc(100% - (2 * var(--forma-mobile-gutter)))!important;padding-right:0!important;padding-left:0!important;margin-right:auto!important;margin-left:auto!important}
  .ecm-archive-heading,.forma-media-archive-head,.forma-events-directory-head,.forma-photo-directory-head{padding-top:18px!important;padding-bottom:16px!important;margin-bottom:16px!important}
  .ecm-archive-heading h1,.forma-media-archive-head h1{font-size:30px!important;line-height:1.3!important}
  .ecm-archive-heading p,.forma-media-archive-head p{font-size:12px!important;line-height:1.8!important}
  .ecm-archive-grid,.forma-media-grid,.forma-events-directory-grid,.forma-photo-directory-grid{grid-template-columns:1fr!important;gap:14px!important}
  .ecm-archive-card,.forma-media-card,.forma-events-directory-card,.forma-photo-directory-card{border-radius:var(--forma-mobile-radius)!important;overflow:hidden!important}
  .ecm-archive-image,.forma-media-image,.forma-events-directory-media,.forma-photo-directory-media{aspect-ratio:16/10!important}
  .forma-media-card:first-child{display:block!important}
  .forma-media-card:first-child h2,.forma-media-card h2{font-size:20px!important;line-height:1.65!important}
  .forma-media-card-body,.ecm-archive-body{padding:15px!important}
  .forma-media-filters{gap:7px!important;padding:14px 0!important;overflow-x:auto!important;flex-wrap:nowrap!important;scrollbar-width:none}
  .forma-media-filters::-webkit-scrollbar{display:none}
  .forma-media-filters button{flex:0 0 auto!important;min-height:39px!important;padding:8px 13px!important}

  .forma-public-event-hero,.forma-public-film-hero,.forma-public-photography-hero{grid-template-columns:1fr!important;gap:20px!important}
  .forma-public-event h1,.forma-public-film h1,.forma-public-photography h1,.forma-media-story h1{font-size:clamp(27px,8vw,36px)!important;line-height:1.4!important}
  .forma-media-story>header{margin-bottom:22px!important}
  .forma-media-deck{font-size:17px!important;line-height:1.9!important}
  .forma-media-lead{font-size:17px!important;line-height:2!important}
  .forma-media-copy{margin:28px auto!important;font-size:16px!important;line-height:2.05!important}
  .forma-media-copy blockquote{font-size:18px!important;padding:4px 15px!important}
  .forma-media-facts>div,.forma-public-event-detail{grid-template-columns:1fr!important;gap:4px!important}
  .forma-public-event-primary,.forma-public-event-secondary,.forma-media-source a{width:100%!important;min-height:44px!important}

  .ecm-manager{display:block!important;min-height:0!important;margin:0!important;border-right:0!important;border-left:0!important;border-radius:0!important}
  .ecm-manager-sidebar{position:relative!important;min-height:0!important;padding:12px 12px 8px!important}
  .ecm-manager-brand{padding:2px 5px 10px!important}
  .ecm-manager-nav-group{display:flex!important;margin:0 0 6px!important;gap:5px!important;overflow-x:auto!important;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:none}
  .ecm-manager-nav-group::-webkit-scrollbar{display:none}
  .ecm-manager-nav-item{flex:0 0 auto!important;min-height:40px!important;padding:8px 11px!important;scroll-snap-align:start;font-size:12px!important}
  .ecm-manager-topbar{min-height:68px!important;padding:12px 14px!important}
  .ecm-manager-topbar h1{font-size:19px!important}
  .ecm-manager-content{padding:14px 12px 34px!important}
  .ecm-manager-hero,.ecm-manager-section-head,.ecm-manager-panel-head{flex-direction:column!important;align-items:stretch!important;gap:13px!important}
  .ecm-manager-hero,.ecm-manager-panel,.ecm-manager-form-card,.ecm-manager-empty{padding:16px!important;border-radius:11px!important}
  .ecm-manager-hero h2,.ecm-manager-section-head h2{font-size:21px!important}
  .ecm-manager-quick,.ecm-manager-form-actions,.ecm-manager-inline-actions{display:grid!important;grid-template-columns:1fr!important;width:100%!important}
  .ecm-manager-quick a,.ecm-manager-primary,.ecm-manager-secondary,.ecm-manager-form-actions button,.ecm-manager-form-actions a{width:100%!important;min-height:44px!important}
  .ecm-manager-stats,.ecm-manager-create-grid,.ecm-manager-fields,.ecm-health-grid{grid-template-columns:1fr!important}
  .ecm-manager-stat{padding:14px!important}
  .ecm-manager-fields input,.ecm-manager-fields select,.ecm-manager-fields textarea{min-height:46px!important;font-size:16px!important}
  .ecm-manager-fields label.is-wide,.ecm-manager-help{grid-column:auto!important}
  .ecm-manager-poster-field{grid-template-columns:1fr!important;padding:12px!important}
  .ecm-manager-table{min-width:660px;font-size:11px!important}
  .ecm-manager-table th,.ecm-manager-table td{padding:10px!important}
  .ecm-health-item{align-items:flex-start!important;padding:13px!important}

  body.ecm-um-profile-page .um-profile.um,body.ecm-um-profile-page .um-profile,.ecm-profile-extras{width:calc(100% - 20px)!important;max-width:none!important;margin-right:auto!important;margin-left:auto!important}
  body.ecm-um-profile-page .um-profile .um-profile-body{padding:14px!important}
  body.ecm-um-profile-page .um-profile-nav{overflow-x:auto!important;white-space:nowrap!important;scrollbar-width:none}
  body.ecm-um-profile-page .um-profile-nav::-webkit-scrollbar{display:none}
  body.ecm-um-profile-page .ecm-profile-project-manager-head{padding:14px!important}
  body.ecm-um-profile-page .ecm-profile-project-manager-row{grid-template-columns:68px minmax(0,1fr)!important}
  body.ecm-um-profile-page .ecm-profile-project-manager-actions{grid-column:1/-1!important;display:flex!important;flex-wrap:wrap!important;white-space:normal!important}
  .ecm-content-section-heading{align-items:flex-start!important;flex-wrap:wrap!important}
  .ecm-section-owner-action{width:100%!important;min-height:40px!important}
}

@media (max-width:380px){
  .ecm-manager-content{padding-right:9px!important;padding-left:9px!important}
  .ecm-manager-topbar .ecm-manager-eyebrow{display:none!important}
  .ecm-user-header__panel{right:6px!important;left:6px!important}
  .forma-theme-toggle-dock{left:8px!important;bottom:8px!important}
}
html[data-forma-theme="light"] .ecm-manager-legacy-support hr{border-color:var(--fm-border)!important}
html[data-forma-theme="light"] .ecm-manager-legacy-support .widefat{background:#FFFFFF!important;color:#151515!important;border-color:#CECEC8!important}
html[data-forma-theme="light"] .ecm-manager-legacy-support table.widefat{background:#FFFFFF!important;border-color:var(--fm-border)!important}
html[data-forma-theme="light"] .ecm-manager-legacy-support table.widefat th{background:#F0F0EC!important;color:#41413D!important;border-color:var(--fm-border)!important}
html[data-forma-theme="light"] .ecm-manager-legacy-support table.widefat td{background:#FFFFFF!important;color:#555550!important;border-color:#E5E5E0!important}
html[data-forma-theme="light"] .ecm-manager-legacy-support .button,
html[data-forma-theme="light"] .ecm-manager-report-bridge .button{background:#FFFFFF!important;color:#155E6C!important;border-color:#CFCFC9!important}
html[data-forma-theme="light"] .ecm-manager-report-bridge .button-primary{background:#1E7B8D!important;color:#FFFFFF!important;border-color:#1E7B8D!important}

/* Ultimate Member profile: switch the whole profile shell, not only ECM cards. */
html[data-forma-theme="light"] body.ecm-um-profile-page{
  --ecm-ux-bg:#F5F5F2;
  --ecm-ux-card:#FFFFFF;
  --ecm-ux-surface:#F0F0EC;
  --ecm-ux-accent:#1E7B8D;
  --ecm-ux-text:#151515;
  --ecm-ux-muted:#686863;
  --ecm-ux-border:#D8D8D2;
}
html[data-forma-theme="light"] body.ecm-um-profile-page .um-profile,
html[data-forma-theme="light"] body.ecm-um-profile-page .um-profile.um{color:var(--ecm-ux-text)!important}
html[data-forma-theme="light"] body.ecm-um-profile-page .um-profile .um-name,
html[data-forma-theme="light"] body.ecm-um-profile-page .um-profile .um-name a,
html[data-forma-theme="light"] body.ecm-um-profile-page .um-profile .um-field-label,
html[data-forma-theme="light"] body.ecm-um-profile-page .um-profile .um-field-label label{color:var(--ecm-ux-text)!important}
html[data-forma-theme="light"] body.ecm-um-profile-page .um-profile .um-field-label{border-color:var(--ecm-ux-border)!important}
html[data-forma-theme="light"] body.ecm-um-profile-page .um-profile .um-field-value,
html[data-forma-theme="light"] body.ecm-um-profile-page .um-profile .um-meta,
html[data-forma-theme="light"] body.ecm-um-profile-page .um-profile .um-meta-text,
html[data-forma-theme="light"] body.ecm-um-profile-page .um-profile .um-profile-meta{color:var(--ecm-ux-muted)!important}
html[data-forma-theme="light"] body.ecm-um-profile-page .um-profile .um-field-value a,
html[data-forma-theme="light"] body.ecm-um-profile-page .um-profile a:not(.um-button):not(.um-profile-edit-a){color:#1E7B8D}
html[data-forma-theme="light"] body.ecm-um-profile-page .um-profile .um-profile-body{background:#FFFFFF!important;border-color:var(--ecm-ux-border)!important;color:var(--ecm-ux-text)!important;box-shadow:0 10px 28px rgba(18,18,18,.045)!important}
html[data-forma-theme="light"] body.ecm-um-profile-page .um-profile .um-profile-nav{background:#FFFFFF!important;border-color:var(--ecm-ux-border)!important}
html[data-forma-theme="light"] body.ecm-um-profile-page .um-profile .um-profile-nav .um-profile-nav-item a{color:#5F5F5A!important;background:transparent!important}
html[data-forma-theme="light"] body.ecm-um-profile-page .um-profile .um-profile-nav .um-profile-nav-item a:hover{color:#151515!important;background:#F0F0EC!important}
html[data-forma-theme="light"] body.ecm-um-profile-page .um-profile .um-profile-nav .um-profile-nav-item.active a,
html[data-forma-theme="light"] body.ecm-um-profile-page .um-profile .um-profile-nav .um-profile-nav-item a.active{color:#FFFFFF!important;background:#1E7B8D!important}
html[data-forma-theme="light"] body.ecm-um-profile-page .um-profile .um-profile-headericon a,
html[data-forma-theme="light"] body.ecm-um-profile-page .um-profile .um-profile-edit-a{color:#1E7B8D!important}

/* UM edit/profile form controls that can appear on the same profile page. */
html[data-forma-theme="light"] body.ecm-um-profile-page .um-profile input[type="text"],
html[data-forma-theme="light"] body.ecm-um-profile-page .um-profile input[type="email"],
html[data-forma-theme="light"] body.ecm-um-profile-page .um-profile input[type="url"],
html[data-forma-theme="light"] body.ecm-um-profile-page .um-profile input[type="number"],
html[data-forma-theme="light"] body.ecm-um-profile-page .um-profile input[type="password"],
html[data-forma-theme="light"] body.ecm-um-profile-page .um-profile textarea,
html[data-forma-theme="light"] body.ecm-um-profile-page .um-profile select,
html[data-forma-theme="light"] body.ecm-um-profile-page .um-profile .select2-selection{background:#FFFFFF!important;color:#151515!important;border-color:#CECEC8!important}
html[data-forma-theme="light"] body.ecm-um-profile-page .um-profile input::placeholder,
html[data-forma-theme="light"] body.ecm-um-profile-page .um-profile textarea::placeholder{color:#8A8A84!important}

/* ECM sections living below/inside the artist profile. */
html[data-forma-theme="light"] body.ecm-um-profile-page .ecm-profile-extras{color:var(--ecm-ux-text)!important}
html[data-forma-theme="light"] body.ecm-um-profile-page .ecm-profile-section,
html[data-forma-theme="light"] body.ecm-um-profile-page .ecm-my-card{background:#FFFFFF!important;border-color:var(--ecm-ux-border)!important;color:var(--ecm-ux-text)!important}
html[data-forma-theme="light"] body.ecm-um-profile-page .ecm-certificate-card{
  background:#FFFFFF!important;
  border-color:var(--ecm-ux-border)!important;
  color:var(--ecm-ux-text)!important;
  box-shadow:0 1px 0 rgba(18,18,18,.02)!important;
}
html[data-forma-theme="light"] body.ecm-um-profile-page .ecm-certificate-card h3{color:var(--ecm-ux-text)!important}
html[data-forma-theme="light"] body.ecm-um-profile-page .ecm-certificate-card :is(p,small,.ecm-certificate-note,.ecm-certificate-code){color:var(--ecm-ux-muted)!important}
html[data-forma-theme="light"] body.ecm-um-profile-page .ecm-certificate-card .ecm-btn-secondary{background:#FFFFFF!important;border-color:#1E7B8D!important;color:#1E7B8D!important}
html[data-forma-theme="light"] body.ecm-um-profile-page .ecm-news-card,
html[data-forma-theme="light"] body.ecm-um-profile-page .ecm-artist-card,
html[data-forma-theme="light"] body.ecm-um-profile-page .ecm-artwork-row{background:#F0F0EC!important;border-color:var(--ecm-ux-border)!important}
html[data-forma-theme="light"] body.ecm-um-profile-page .ecm-news-image,
html[data-forma-theme="light"] body.ecm-um-profile-page .ecm-artist-avatar{background:#E9E9E4!important}
html[data-forma-theme="light"] body.ecm-um-profile-page .ecm-section-heading h2,
html[data-forma-theme="light"] body.ecm-um-profile-page .ecm-news-body h3 a,
html[data-forma-theme="light"] body.ecm-um-profile-page .ecm-artist-card-body h3 a{color:#151515!important}
html[data-forma-theme="light"] body.ecm-um-profile-page .ecm-news-body p,
html[data-forma-theme="light"] body.ecm-um-profile-page .ecm-artist-card-body p{color:#5D5D58!important}
html[data-forma-theme="light"] body.ecm-um-profile-page .ecm-artwork-list{border-color:var(--ecm-ux-border)!important}

/* Owner-only My Projects tab. */
html[data-forma-theme="light"] body.ecm-um-profile-page .ecm-um-projects-tab{
  --ecm-forma-bg:#F5F5F2;
  --ecm-forma-panel:#FFFFFF;
  --ecm-forma-panel-2:#F0F0EC;
  --ecm-forma-accent:#1E7B8D;
  --ecm-forma-text:#151515;
  --ecm-forma-muted:#686863;
  --ecm-forma-border:#D8D8D2;
  color:var(--ecm-forma-text)!important;
}
html[data-forma-theme="light"] body.ecm-um-profile-page .ecm-um-projects-tab .ecm-archive-shell,
html[data-forma-theme="light"] body.ecm-um-profile-page .ecm-um-projects-tab .ecm-create-panel,
html[data-forma-theme="light"] body.ecm-um-profile-page .ecm-um-projects-tab .ecm-project-card{color:var(--ecm-forma-text)!important}

/* Compact project manager rows. Keep the teal section header as a Forma identity anchor. */
html[data-forma-theme="light"] body.ecm-um-profile-page .ecm-profile-project-manager{color:#151515!important}
html[data-forma-theme="light"] body.ecm-um-profile-page .ecm-profile-project-manager-row{border-color:#DEDED8!important}
html[data-forma-theme="light"] body.ecm-um-profile-page .ecm-profile-project-manager-thumb,
html[data-forma-theme="light"] body.ecm-um-profile-page .ecm-profile-project-empty{background:#F0F0EC!important;border-color:#D8D8D2!important;color:#777772!important}
html[data-forma-theme="light"] body.ecm-um-profile-page .ecm-profile-project-manager-info h3{color:#151515!important}
html[data-forma-theme="light"] body.ecm-um-profile-page .ecm-profile-project-manager-meta,
html[data-forma-theme="light"] body.ecm-um-profile-page .ecm-profile-project-manager-meta .ecm-manager-state{color:#686863!important}
html[data-forma-theme="light"] body.ecm-um-profile-page .ecm-profile-project-manager-actions a,
html[data-forma-theme="light"] body.ecm-um-profile-page .ecm-profile-project-manager-actions button{color:#1E7B8D!important}
html[data-forma-theme="light"] body.ecm-um-profile-page .ecm-profile-project-manager-actions a:hover,
html[data-forma-theme="light"] body.ecm-um-profile-page .ecm-profile-project-manager-actions button:hover{color:#155E6C!important}

/* v1.32.7 — Unified Film / Photography light surfaces. */
html[data-forma-theme="light"] .forma-public-film,html[data-forma-theme="light"] .forma-public-photography{--ff-bg:var(--forma-page);--ff-panel:var(--forma-panel);--ff-border:var(--forma-border);--ff-text:var(--forma-text);--ff-muted:var(--forma-text-2);--ff-accent:var(--forma-accent);--fp-bg:transparent;--fp-panel:var(--forma-panel);--fp-border:var(--forma-border);--fp-text:var(--forma-text);--fp-muted:var(--forma-text-2);--fp-accent:var(--forma-accent);background:transparent!important;color:var(--forma-text)!important}
html[data-forma-theme="light"] .ecm-public-work-page{background:transparent!important;color:var(--forma-text)!important}
html[data-forma-theme="light"] .forma-public-film .forma-film-card,html[data-forma-theme="light"] .forma-public-photography .forma-photo-card{background:#fff!important;border:1px solid #D8D8D2!important;box-shadow:0 1px 0 rgba(18,18,18,.02)!important}
html[data-forma-theme="light"] .forma-public-film .forma-film-section,html[data-forma-theme="light"] .forma-public-photography .forma-photo-section{background:transparent!important;border-color:#D8D8D2!important}
html[data-forma-theme="light"] .forma-public-film :is(.forma-film-logline,.forma-film-facts,.forma-film-role,.forma-film-list li,.forma-film-back),html[data-forma-theme="light"] .forma-public-photography :is(.forma-photo-facts,.forma-photo-list li,.forma-photo-back){color:#555550!important;border-color:#D8D8D2!important}
html[data-forma-theme="light"] .forma-public-film :is(.forma-film-tag,.forma-film-edit,.forma-film-trailer),html[data-forma-theme="light"] .forma-public-photography :is(.forma-photo-tag,.forma-photo-edit){background:#fff!important;color:#30302D!important;border-color:#CFCFC9!important}
html[data-forma-theme="light"] .forma-public-film :is(.forma-film-tag,.forma-film-edit,.forma-film-trailer):hover,html[data-forma-theme="light"] .forma-public-photography :is(.forma-photo-tag,.forma-photo-edit):hover{background:#EAF3F4!important;color:#155E6C!important;border-color:#91BCC4!important}
html[data-forma-theme="light"] .forma-public-film .forma-film-empty-poster,html[data-forma-theme="light"] .forma-public-photography .forma-photo-empty-image{background:#F0F0EC!important;border-color:#D8D8D2!important}
html[data-forma-theme="light"] .forma-public-film .forma-film-video{background:#ECECE7!important}

/* ECM v1.32.8 — participation channel light surfaces. */
html[data-forma-theme="light"] .forma-events-directory-forma-badge{color:var(--forma-accent)!important;border-color:#9cc5cc!important;background:#eef7f8!important}
html[data-forma-theme="light"] .forma-public-event-notice{background:#eef7f8!important;border-color:#9cc5cc!important;color:#245b65!important}
html[data-forma-theme="light"] .forma-public-event-consent{color:var(--forma-text-2)!important}
html[data-forma-theme="light"] .forma-public-event-alt a{color:var(--forma-accent)!important}
html[data-forma-theme="light"] .forma-call-external{color:var(--forma-accent)!important;border-color:#9cc5cc!important;background:var(--forma-panel)!important}
html[data-forma-theme="light"] .forma-call-external:hover{color:#fff!important;background:var(--forma-accent)!important;border-color:var(--forma-accent)!important}

/* v1.51.2 — canonical Forma Manager navigation layout.
 * This block intentionally overrides all older responsive navigation experiments.
 */
.ecm-manager{
  width:100%!important;
  max-width:1440px!important;
  left:auto!important;
  transform:none!important;
  margin:18px auto!important;
  grid-template-columns:240px minmax(0,1fr)!important;
  overflow:visible!important;
}
.ecm-manager-sidebar{
  width:auto!important;
  min-width:0!important;
  padding:24px 14px 18px!important;
  overflow:hidden!important;
}
.ecm-manager-sidebar-head{display:block!important}
.ecm-manager-brand{padding:0 10px 22px!important}
.ecm-manager-navigation{
  display:flex!important;
  flex-direction:column!important;
  min-width:0!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  scrollbar-width:thin;
  scrollbar-color:#3a3a3a transparent;
}
.ecm-manager-nav-group{
  display:block!important;
  margin:0 0 16px!important;
  padding:0!important;
  overflow:visible!important;
}
.ecm-manager-nav-label{
  display:block!important;
  padding:0 10px 7px!important;
  font-size:9px!important;
  line-height:1.4!important;
  white-space:normal!important;
}
.ecm-manager-nav-item{
  display:flex!important;
  width:100%!important;
  min-height:40px!important;
  padding:9px 10px!important;
  margin:2px 0!important;
  gap:9px!important;
  border:1px solid transparent!important;
  border-radius:9px!important;
  white-space:normal!important;
  line-height:1.45!important;
}
.ecm-manager-nav-icon{flex:0 0 18px!important;width:18px!important}
.ecm-manager-nav-toggle,.ecm-manager-nav-close,.ecm-manager-nav-backdrop{display:none}
.ecm-manager-side-footer{padding:14px 10px 0!important}

@media (min-width:901px){
  .ecm-manager-sidebar{
    position:sticky!important;
    top:18px!important;
    align-self:start!important;
    height:calc(100vh - 36px)!important;
    max-height:calc(100vh - 36px)!important;
    min-height:640px!important;
    display:flex!important;
    flex-direction:column!important;
  }
  .ecm-manager-navigation{flex:1 1 auto!important;padding-left:3px!important}
  .ecm-manager-side-footer{flex:0 0 auto!important}
}

@media (min-width:781px) and (max-width:900px){
  body.ecm-manager-nav-lock{overflow:hidden!important}
  .ecm-manager{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    margin:10px 0!important;
    border-radius:14px!important;
    overflow:hidden!important;
  }
  .ecm-manager-sidebar{
    position:relative!important;
    z-index:40!important;
    min-height:0!important;
    height:auto!important;
    max-height:none!important;
    padding:10px 14px!important;
    border-left:0!important;
    border-bottom:1px solid var(--fm-border)!important;
    overflow:visible!important;
  }
  .ecm-manager-sidebar-head{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:12px!important;
    min-height:48px!important;
  }
  .ecm-manager-brand{padding:0!important;gap:7px!important}
  .ecm-manager-brand strong{font-size:19px!important}
  .ecm-manager-brand span{font-size:8px!important}
  .ecm-manager-nav-toggle{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:8px!important;
    min-height:42px!important;
    padding:0 12px!important;
    border:1px solid var(--fm-border)!important;
    border-radius:10px!important;
    background:var(--fm-panel2)!important;
    color:var(--fm-text)!important;
    font:inherit!important;
    font-size:12px!important;
    font-weight:700!important;
    cursor:pointer!important;
  }
  .ecm-manager-nav-toggle i,.ecm-manager-nav-toggle i:before,.ecm-manager-nav-toggle i:after{
    display:block!important;width:16px!important;height:2px!important;border-radius:2px!important;background:currentColor!important;content:""!important
  }
  .ecm-manager-nav-toggle i{position:relative!important}
  .ecm-manager-nav-toggle i:before{position:absolute!important;top:-5px!important}
  .ecm-manager-nav-toggle i:after{position:absolute!important;top:5px!important}
  .ecm-manager-navigation{
    display:block!important;
    position:fixed!important;
    z-index:2147482501!important;
    top:0!important;
    right:0!important;
    bottom:0!important;
    width:min(86vw,360px)!important;
    max-width:360px!important;
    height:100dvh!important;
    padding:72px 14px 24px!important;
    margin:0!important;
    border:0!important;
    border-left:1px solid var(--fm-border)!important;
    background:var(--fm-bg)!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    overscroll-behavior:contain!important;
    box-shadow:-18px 0 48px rgba(0,0,0,.35)!important;
    transform:translateX(105%)!important;
    visibility:hidden!important;
    transition:transform .2s ease,visibility .2s linear!important;
  }
  .ecm-manager.is-nav-open .ecm-manager-navigation{
    transform:translateX(0)!important;
    visibility:visible!important;
  }
  .ecm-manager-nav-close{
    display:flex!important;
    position:fixed!important;
    z-index:2147482502!important;
    top:14px!important;
    right:14px!important;
    width:42px!important;
    height:42px!important;
    align-items:center!important;
    justify-content:center!important;
    border:1px solid var(--fm-border)!important;
    border-radius:10px!important;
    background:var(--fm-panel2)!important;
    color:var(--fm-text)!important;
    font-size:24px!important;
    line-height:1!important;
    cursor:pointer!important;
  }
  .ecm-manager-nav-backdrop{
    display:block!important;
    position:fixed!important;
    z-index:2147482500!important;
    inset:0!important;
    border:0!important;
    padding:0!important;
    margin:0!important;
    background:rgba(0,0,0,.56)!important;
    opacity:0!important;
    visibility:hidden!important;
    transition:opacity .18s ease,visibility .18s linear!important;
  }
  .ecm-manager.is-nav-open .ecm-manager-nav-backdrop{opacity:1!important;visibility:visible!important}
  .ecm-manager-nav-group{
    display:block!important;
    margin:0 0 18px!important;
    padding:0 0 13px!important;
    border-bottom:1px solid var(--fm-border)!important;
    overflow:visible!important;
  }
  .ecm-manager-nav-group:last-child{border-bottom:0!important}
  .ecm-manager-nav-label{
    display:block!important;
    padding:0 8px 7px!important;
    font-size:9px!important;
  }
  .ecm-manager-nav-item{
    display:flex!important;
    width:100%!important;
    min-height:46px!important;
    margin:3px 0!important;
    padding:11px 10px!important;
    font-size:13px!important;
    scroll-snap-align:none!important;
  }
  .ecm-manager-side-footer{display:none!important}
  .ecm-manager-main{min-width:0!important}
  .ecm-manager-topbar{min-height:68px!important;padding:12px 16px!important}
  .ecm-manager-content{padding:18px 16px 38px!important}
}

@media (max-width:560px){
  .ecm-manager{margin:0!important;border-right:0!important;border-left:0!important;border-radius:0!important}
  .ecm-manager-sidebar{padding:8px 11px!important}
  .ecm-manager-nav-toggle span{display:none!important}
  .ecm-manager-nav-toggle{width:42px!important;padding:0!important}
  .ecm-manager-navigation{width:min(90vw,340px)!important;padding-right:12px!important;padding-left:12px!important}
  .ecm-manager-topbar{padding:11px 12px!important}
  .ecm-manager-topbar h1{font-size:19px!important}
  .ecm-manager-content{padding:14px 10px 32px!important}
}

/* =========================================================
   v1.51.3 — Mobile Bottom Navigation
   Desktop/tablet sidebar is intentionally untouched.
   ========================================================= */
.ecm-mobile-nav{display:none}
@media (max-width:780px){
  .ecm-manager{display:block!important;overflow:visible!important;min-height:0!important}
  .ecm-manager-sidebar{display:none!important}
  .ecm-manager-main{width:100%!important;min-width:0!important;padding-bottom:78px!important}
  .ecm-manager-topbar{min-height:72px!important;padding:14px 16px!important}
  .ecm-manager-content{padding:18px 14px 34px!important}
  .ecm-mobile-nav{display:block!important;position:relative;z-index:99991}
  .ecm-mobile-bottom-bar{position:fixed!important;right:0!important;left:0!important;bottom:0!important;height:68px!important;padding:6px max(8px,env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left))!important;background:color-mix(in srgb,var(--fm-panel) 96%,transparent)!important;border-top:1px solid var(--fm-border)!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:2px!important;z-index:99995!important;box-shadow:0 -8px 28px rgba(0,0,0,.16)!important;backdrop-filter:blur(16px)!important;-webkit-backdrop-filter:blur(16px)!important}
  .ecm-mobile-tab{appearance:none!important;border:0!important;background:transparent!important;color:var(--fm-muted)!important;min-width:0!important;height:54px!important;border-radius:11px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:2px!important;font-family:inherit!important;text-decoration:none!important;cursor:pointer!important;padding:3px 2px!important}
  .ecm-mobile-tab>span{font-size:20px!important;line-height:1!important;min-height:22px!important;display:flex!important;align-items:center!important;justify-content:center!important}
  .ecm-mobile-tab>small{font-size:9.5px!important;line-height:1.2!important;font-weight:650!important;color:inherit!important;white-space:nowrap!important}
  .ecm-mobile-tab.is-active{color:var(--fm-teal)!important;background:color-mix(in srgb,var(--fm-teal) 10%,transparent)!important}
  .ecm-mobile-sheet-backdrop{position:fixed!important;inset:0!important;background:rgba(0,0,0,.48)!important;z-index:99996!important;border:0!important;padding:0!important;margin:0!important;opacity:0!important;transition:opacity .18s ease!important}
  .ecm-mobile-sheet-backdrop.is-visible{display:block!important;opacity:1!important}
  .ecm-mobile-sheet{position:fixed!important;right:8px!important;left:8px!important;bottom:8px!important;z-index:99997!important;background:var(--fm-panel)!important;border:1px solid var(--fm-border)!important;border-radius:20px!important;box-shadow:0 20px 55px rgba(0,0,0,.32)!important;max-height:min(74vh,620px)!important;overflow:hidden!important;transform:translateY(calc(100% + 24px))!important;opacity:0!important;pointer-events:none!important;transition:transform .22s ease,opacity .18s ease!important;color:var(--fm-text)!important}
  .ecm-mobile-sheet.is-open{transform:translateY(0)!important;opacity:1!important;pointer-events:auto!important}
  .ecm-mobile-sheet-handle{width:38px!important;height:4px!important;border-radius:99px!important;background:var(--fm-border)!important;margin:8px auto 2px!important}
  .ecm-mobile-sheet-head{min-height:48px!important;padding:7px 14px 9px!important;border-bottom:1px solid var(--fm-border)!important;display:flex!important;align-items:center!important;justify-content:space-between!important}
  .ecm-mobile-sheet-title{font-size:14px!important;color:var(--fm-text)!important}
  .ecm-mobile-sheet-close{appearance:none!important;width:34px!important;height:34px!important;border:0!important;border-radius:10px!important;background:var(--fm-panel2)!important;color:var(--fm-text)!important;font-size:25px!important;line-height:1!important;cursor:pointer!important}
  .ecm-mobile-sheet-body{display:none!important;max-height:calc(74vh - 72px)!important;overflow:auto!important;padding:12px!important;overscroll-behavior:contain!important}
  .ecm-mobile-sheet-body.is-active{display:grid!important;grid-template-columns:1fr!important;gap:7px!important}
  .ecm-mobile-sheet-kicker{display:block!important;padding:3px 6px 7px!important;color:var(--fm-muted)!important;font-size:10px!important;font-weight:700!important}
  .ecm-mobile-sheet-body a{display:flex!important;align-items:center!important;gap:11px!important;min-height:49px!important;padding:10px 12px!important;border:1px solid var(--fm-border)!important;border-radius:12px!important;background:var(--fm-panel2)!important;color:var(--fm-text)!important;text-decoration:none!important;font-size:12px!important;font-weight:650!important}
  .ecm-mobile-sheet-body a>span{width:22px!important;text-align:center!important;color:var(--fm-teal)!important;font-size:16px!important}
  body.ecm-mobile-sheet-lock{overflow:hidden!important}
}


/* =========================================================
   v1.52.1 — Manager navigation comfort + mobile chrome safety
   Desktop keeps the approved visual design, but the sidebar no longer
   owns a separate scroll container. Mobile theme control lives in More.
   ========================================================= */
@media (min-width:981px){
  .ecm-manager-sidebar{
    position:relative!important;
    top:auto!important;
    align-self:stretch!important;
    height:auto!important;
    max-height:none!important;
    min-height:100%!important;
    overflow:visible!important;
  }
  .ecm-manager-navigation{
    flex:0 0 auto!important;
    overflow:visible!important;
    padding-left:0!important;
    scrollbar-width:auto!important;
  }
  .ecm-manager-side-footer{margin-top:auto!important}
}
@media (max-width:780px){
  body.ecm-manager-mobile-bottom-active .forma-theme-toggle-dock{display:none!important}
  .ecm-mobile-sheet-body .ecm-mobile-sheet-action{
    appearance:none!important;
    width:100%!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:11px!important;
    min-height:49px!important;
    padding:10px 12px!important;
    border:1px solid var(--fm-border)!important;
    border-radius:12px!important;
    background:var(--fm-panel2)!important;
    color:var(--fm-text)!important;
    font:inherit!important;
    font-size:12px!important;
    font-weight:650!important;
    text-align:right!important;
    cursor:pointer!important;
  }
  .ecm-mobile-sheet-body .ecm-mobile-sheet-action>span:first-child{
    width:22px!important;
    text-align:center!important;
    color:var(--fm-teal)!important;
    font-size:16px!important;
  }
  .ecm-mobile-sheet-body .ecm-mobile-theme-toggle .forma-theme-toggle-track{display:none!important}
}
\n\n/* =========================================================\n   v1.55.2 — Mobile More sheet refinement\n   Phone-only polish; desktop/tablet Manager remains unchanged.\n   ========================================================= */\n@media (max-width:780px){\n  .ecm-mobile-sheet{\n    right:10px!important;left:10px!important;bottom:calc(8px + env(safe-area-inset-bottom))!important;\n    max-height:min(84dvh,720px)!important;border-radius:22px!important;\n  }\n  .ecm-mobile-sheet-head{min-height:52px!important;padding:8px 16px 10px!important}\n  .ecm-mobile-sheet-title{font-size:15px!important;font-weight:800!important}\n  .ecm-mobile-sheet-close{width:31px!important;height:31px!important;border-radius:9px!important;font-size:21px!important;font-weight:500!important}\n  .ecm-mobile-sheet-body{max-height:calc(84dvh - 72px)!important;padding:10px 12px 14px!important}\n  .ecm-mobile-sheet-body.is-active{gap:6px!important}\n  .ecm-mobile-more-sheet .ecm-mobile-sheet-kicker{display:none!important}\n  .ecm-mobile-sheet-subhead{\n    margin:12px 4px 4px!important;padding:12px 2px 3px!important;border-top:1px solid var(--fm-border)!important;\n    color:var(--fm-muted)!important;opacity:1!important;font-size:10px!important;font-weight:800!important;letter-spacing:0!important;\n  }\n  .ecm-mobile-sheet-subhead.is-first{margin-top:0!important;padding-top:2px!important;border-top:0!important}\n  .ecm-mobile-more-sheet a{min-height:46px!important;padding:8px 11px!important;border-radius:11px!important;gap:10px!important}\n  .ecm-mobile-more-sheet .ecm-mobile-menu-icon{\n    width:25px!important;height:25px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;\n    border:1px solid color-mix(in srgb,var(--fm-teal) 52%,var(--fm-border))!important;border-radius:8px!important;\n    color:var(--fm-teal)!important;font-size:12px!important;line-height:1!important;flex:0 0 25px!important;\n  }\n  .ecm-mobile-more-sheet .ecm-mobile-sheet-action.ecm-mobile-theme-toggle{\n    min-height:54px!important;padding:8px 12px!important;justify-content:space-between!important;gap:12px!important;\n    border-radius:12px!important;\n  }\n  .ecm-mobile-theme-copy{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:3px!important;min-width:0!important}\n  .ecm-mobile-theme-copy strong{font-size:12px!important;color:var(--fm-text)!important;line-height:1.2!important}\n  .ecm-mobile-theme-copy small{font-size:9px!important;color:var(--fm-muted)!important;line-height:1.2!important;font-weight:600!important}\n  .ecm-mobile-theme-switch{\n    position:relative!important;width:42px!important;height:24px!important;border-radius:999px!important;\n    background:var(--fm-panel)!important;border:1px solid var(--fm-border)!important;flex:0 0 42px!important;\n    transition:background .18s ease,border-color .18s ease!important;\n  }\n  .ecm-mobile-theme-switch i{\n    position:absolute!important;top:3px!important;right:3px!important;width:16px!important;height:16px!important;border-radius:50%!important;\n    background:var(--fm-teal)!important;transition:transform .2s ease!important;box-shadow:0 1px 4px rgba(0,0,0,.22)!important;\n  }\n  html[data-forma-theme="light"] .ecm-mobile-theme-switch i{transform:translateX(-18px)!important}\n  .ecm-mobile-more-sheet .ecm-mobile-theme-toggle>span:first-child{width:auto!important;text-align:initial!important;color:inherit!important;font-size:inherit!important}\n}\n
/* =========================================================
   v1.55.2 — Global palette runtime bridge
   Ensure administrator palette tokens are visible on legacy/Manager surfaces.
   ========================================================= */
.ecm-manager,
.ecm-manager-request{
  --fm-bg:var(--forma-page)!important;
  --fm-panel:var(--forma-panel)!important;
  --fm-panel2:var(--forma-panel-2)!important;
  --fm-border:var(--forma-border)!important;
  --fm-text:var(--forma-text)!important;
  --fm-secondary:var(--forma-text-2)!important;
  --fm-muted:var(--forma-muted)!important;
  --fm-teal:var(--forma-accent)!important;
  --fm-teal-hover:var(--forma-accent-hover)!important;
}
.ecm-manager{background:var(--fm-bg)!important;border-color:var(--fm-border)!important}
.ecm-manager-main{background:var(--fm-bg)!important}
.ecm-manager-sidebar,.ecm-manager-topbar,.ecm-manager-panel,.ecm-manager-stat,.ecm-manager-form-card,.ecm-manager-empty,.ecm-manager-embedded{border-color:var(--fm-border)!important}
.ecm-manager-primary,.ecm-manager-quick a{background:var(--fm-teal)!important}
.ecm-manager-primary:hover,.ecm-manager-quick a:hover{background:var(--fm-teal-hover)!important}
.ecm-manager-nav-item.is-active{box-shadow:inset -2px 0 0 var(--fm-teal)!important}
.ecm-manager-eyebrow,.ecm-manager-kicker,.ecm-manager-back,.ecm-manager-link{color:var(--fm-teal)!important}
