/* Forma light appearance (since 1.84.506).
 * Loaded only on pages that opted in (ECM_Light_Mode::VERIFIED_PAGES) and only for the
 * audience chosen in Forma Manager. Every rule is scoped to html[data-forma-theme="light"],
 * so the dark appearance is byte-for-byte unchanged. */

/* 1. Token palette (wins over the runtime palette on html: higher specificity). */
html[data-forma-theme="light"]{
  color-scheme:light;
  --forma-page:#F6F5F2;
  --forma-panel:#FFFFFF;
  --forma-panel-2:#EFEEEA;
  --forma-field:#FFFFFF;
  --forma-text:#151515;
  --forma-text-2:#454545;
  --forma-muted:#6B6B6B;
  --forma-border:#DCDAD4;
  --forma-accent:#176B7B;
  --forma-accent-hover:#11535F;
  --forma-accent-text:#FFFFFF;
  --forma-danger:#B23E3E;
  --forma-success:#2E7A52;
  --forma-warning:#8A5F12;
  --forma-shadow:0 12px 30px rgba(20,20,20,.10);
  --forma-shadow-soft:0 8px 22px rgba(20,20,20,.07);
  --fm-bg:#F6F5F2;--fm-panel:#FFFFFF;--fm-panel2:#EFEEEA;--fm-border:#DCDAD4;
  --fm-text:#151515;--fm-secondary:#454545;--fm-muted:#6B6B6B;--fm-teal:#176B7B;--fm-teal-hover:#11535F;
  --ecm-accent:#176B7B;--fp-accent:#176B7B;--ff-accent:#176B7B;--fe-accent:#176B7B;--fed-accent:#176B7B;
  --fpd-accent:#176B7B;--fpe-accent:#176B7B;--ct-accent:#176B7B;--euh-accent:#176B7B;--ecm-ux-accent:#176B7B;--ecm-forma-accent:#176B7B;
  --ecm-accent-text:#FFFFFF;--ecm-accepted:#2E7A52;--ecm-pending:#8A5F12;--ecm-rejected:#B23E3E;
  background:#F6F5F2;
}
html[data-forma-theme="light"] body{background:#F6F5F2}

/* 2. Toggle button (admin preview / public). */
.forma-light-toggle{position:fixed;z-index:9990;bottom:20px;left:20px;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:8px 14px 8px 16px;border-radius:999px;border:1px solid #2F2F2F;background:#141414;color:#FFFFFF;font:inherit;font-size:13px;font-weight:700;line-height:1.2;cursor:pointer;box-shadow:0 10px 26px rgba(0,0,0,.35)}
.forma-light-toggle svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.forma-light-toggle__moon{display:none}
.forma-light-toggle small{font-size:10px;font-weight:500;opacity:.7;padding-inline-start:8px;border-inline-start:1px solid currentColor}
.forma-light-toggle:focus-visible{outline:2px solid #1E7B8D;outline-offset:2px}
html[data-forma-theme="light"] .forma-light-toggle{background:#FFFFFF;color:#151515;border-color:#DCDAD4;box-shadow:0 10px 26px rgba(20,20,20,.14)}
html[data-forma-theme="light"] .forma-light-toggle__sun{display:none}
html[data-forma-theme="light"] .forma-light-toggle__moon{display:block}
@media(max-width:639px){.forma-light-toggle{bottom:14px;left:12px;padding:8px 12px;font-size:12px}.forma-light-toggle small{display:none}}
/* In the Forma header (next to notifications): icon-only, same size as the header icon buttons. */
.forma-light-toggle.is-in-header{position:relative;bottom:auto;left:auto;z-index:auto;width:36px;height:36px;min-height:36px;padding:0;justify-content:center;gap:0;border-radius:50%;background:transparent;border-color:transparent;box-shadow:none;color:var(--fs-text,currentColor)}
@media(hover:hover){.forma-light-toggle.is-in-header:hover{border-color:var(--forma-border,#2F2F2F)}}
.forma-light-toggle.is-in-header [data-forma-light-label],.forma-light-toggle.is-in-header small{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.forma-light-toggle.is-in-header svg{width:19px;height:19px;flex:0 0 19px;margin:0}
/* Header button hardened against theme/global button styles on phones (since 1.84.508) */
.forma-light-toggle.is-in-header{-webkit-appearance:none;appearance:none;box-sizing:border-box;flex:0 0 36px;align-self:center;margin:0;min-width:0;max-width:36px;max-height:36px;border-width:1px;border-style:solid;line-height:1;letter-spacing:0;text-transform:none;text-shadow:none;text-decoration:none;vertical-align:middle;overflow:hidden;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
.forma-light-toggle.is-in-header:focus:not(:focus-visible){outline:none}
.forma-light-toggle.is-in-header:active{transform:none}
html[data-forma-theme="light"] .forma-light-toggle.is-in-header{background:transparent;border-color:transparent;box-shadow:none;color:var(--fs-text,#151515)}
@media(hover:hover){html[data-forma-theme="light"] .forma-light-toggle.is-in-header:hover{border-color:var(--forma-border)}}

/* 3. Public profile: hard-coded dark colours in artist-profile*.css / profile-public.css. */
/* The 1.81.59 colour block pins --fpd-* to dark literals; point them back at the tokens. */
html[data-forma-theme="light"] .forma-artist-profile.forma-artist-profile-dashboard{
  --fpd-accent:var(--forma-accent);
  --fpd-page:var(--forma-page);
  --fpd-panel:var(--forma-panel);
  --fpd-panel-2:var(--forma-panel-2);
  --fpd-text:var(--forma-text);
  --fpd-text-2:var(--forma-text-2);
  --fpd-muted:var(--forma-muted);
  --fpd-border:var(--forma-border);
  --fpd-soft:var(--forma-panel-2);
  --fpd-shadow:var(--forma-shadow-soft);
}
/* profile-public.css lightens the accent for text (55% + white); on a light page it must be the accent itself. */
html[data-forma-theme="light"] .forma-artist-profile.fpv{
  --fpv-acc-text:var(--forma-accent);
  --fpv-thumb:var(--forma-panel-2);
}
/* Owner-only completion card on the profile: muted text sits on a tinted accent background. */
html[data-forma-theme="light"] .fpv .fpv-complete{--fpv-muted:var(--forma-text-2)}

/* Owner-only “Profile status” panel (artist-profile.css draws it with its own dark-cyan palette). */
html[data-forma-theme="light"] .forma-profile-status-overview{
  --fps-cyan:var(--forma-accent);--fps-cyan-soft:var(--forma-accent);--fps-panel:var(--forma-panel);--fps-panel-2:var(--forma-panel-2);
  --fps-border:var(--forma-border);--fps-muted:var(--forma-muted);--fps-amber:#8A5F12;
  border-color:var(--forma-border)!important;background:var(--forma-panel)!important;box-shadow:var(--forma-shadow-soft)!important;color:var(--forma-text);
}
html[data-forma-theme="light"] .forma-profile-status-overview:before{background:var(--forma-accent)!important}
html[data-forma-theme="light"] .forma-profile-status-overview:after{background:linear-gradient(-132deg,transparent 34%,color-mix(in srgb,var(--forma-accent) 6%,transparent) 34%,color-mix(in srgb,var(--forma-accent) 6%,transparent) 61%,transparent 61%)!important}
html[data-forma-theme="light"] .forma-profile-status-overview :is(h2,h3,.forma-profile-status-intro h2,.forma-profile-status-panel-head h3,.forma-profile-status-summary-head>div>span,.forma-profile-status-summary-head strong,.forma-profile-status-item-copy b,.forma-profile-status-capability strong,.forma-profile-status-account-meta b,.forma-profile-status-grid strong,.forma-profile-status-complete strong){color:var(--forma-text)!important}
html[data-forma-theme="light"] .forma-profile-status-overview :is(p,small,.forma-profile-status-intro p,.forma-profile-status-panel-head p,.forma-profile-status-summary-card p,.forma-profile-status-summary-card>small,.forma-profile-status-item-copy small,.forma-profile-status-capability p,.forma-profile-status-account-meta,.forma-profile-status-capability-disabled,.forma-profile-status-grid small,.forma-profile-status-missing ul,.forma-profile-status-complete span){color:var(--forma-text-2)!important}
html[data-forma-theme="light"] .forma-profile-status-overview :is(header span,.forma-profile-status-summary-card.is-completion strong,.forma-profile-status-panel-icon,.forma-profile-status-item-meta i,.forma-profile-status-capability-top span,.forma-profile-status-opportunities__head>span,.forma-profile-status-access-list small,.forma-profile-status-access-list i,.forma-profile-status-grid>div:first-child strong){color:var(--forma-accent)!important}
html[data-forma-theme="light"] .forma-profile-status-overview .forma-profile-status-panel-icon.is-amber,
html[data-forma-theme="light"] .forma-profile-status-overview .forma-profile-status-capability.is-pending .forma-profile-status-capability-top span,
html[data-forma-theme="light"] .forma-profile-status-overview .forma-profile-status-capability.is-retry .forma-profile-status-capability-top span,
html[data-forma-theme="light"] .forma-profile-status-overview .forma-profile-status-missing h3{color:#8A5F12!important}
html[data-forma-theme="light"] .forma-profile-status-overview .forma-profile-status-capability.is-active .forma-profile-status-capability-top span,
html[data-forma-theme="light"] .forma-profile-status-overview .forma-profile-status-recommendation-card.is-complete strong,
html[data-forma-theme="light"] .forma-profile-status-overview .forma-profile-status-complete strong{color:#2E7A52!important}
html[data-forma-theme="light"] .forma-profile-status-overview .forma-profile-status-capability.is-locked .forma-profile-status-capability-top span{color:var(--forma-muted)!important}
html[data-forma-theme="light"] .forma-profile-status-overview :is(.forma-profile-status-summary-card,.forma-profile-status-panel,.forma-profile-status-capability,.forma-profile-status-grid>div,.forma-profile-status-access-list>a,.forma-profile-status-missing,.forma-profile-status-complete){border-color:var(--forma-border)!important;background:var(--forma-panel)!important;box-shadow:none!important;color:var(--forma-text)}
html[data-forma-theme="light"] .forma-profile-status-overview :is(.forma-profile-status-capability,.forma-profile-status-capability.is-locked){background:var(--forma-panel-2)!important}
html[data-forma-theme="light"] .forma-profile-status-overview :is(.forma-profile-status-panel-head,.forma-profile-status-item,.forma-profile-status-opportunities,.forma-profile-status-capability>a,.forma-profile-status-capability-disabled){border-color:var(--forma-border)!important}
html[data-forma-theme="light"] .forma-profile-status-overview .forma-profile-status-capability>a{color:var(--forma-accent)!important}
html[data-forma-theme="light"] .forma-profile-status-overview .forma-profile-status-summary-icon{border-color:var(--forma-border)!important;background:color-mix(in srgb,var(--forma-accent) 10%,var(--forma-panel))!important;color:var(--forma-accent)!important}
html[data-forma-theme="light"] .forma-profile-status-overview .forma-profile-status-summary-card.is-attention .forma-profile-status-summary-icon{background:color-mix(in srgb,#8A5F12 10%,var(--forma-panel))!important;color:#8A5F12!important}
html[data-forma-theme="light"] .forma-profile-status-overview .forma-profile-status-summary-card>a{border-color:var(--forma-border)!important;color:var(--forma-accent)!important}
html[data-forma-theme="light"] .forma-profile-status-overview .forma-profile-status-progress{background:var(--forma-panel-2)!important}
html[data-forma-theme="light"] .forma-profile-status-overview .forma-profile-status-progress span{background:var(--forma-accent)!important;box-shadow:none!important}
html[data-forma-theme="light"] .forma-profile-status-overview .forma-profile-status-item-icon{color:var(--forma-text-2)!important}
html[data-forma-theme="light"] .forma-profile-status-overview .forma-profile-status-item-meta em.is-required{background:#F3E3BF!important;color:#5E400A!important}
html[data-forma-theme="light"] .forma-profile-status-overview .forma-profile-status-item-meta em.is-optional{border-color:var(--forma-border)!important;background:var(--forma-panel-2)!important;color:var(--forma-text-2)!important}
html[data-forma-theme="light"] .forma-profile-status-overview .forma-profile-status-recommendation-card{border-color:color-mix(in srgb,var(--forma-accent) 35%,var(--forma-border))!important;background:color-mix(in srgb,var(--forma-accent) 8%,var(--forma-panel))!important}
html[data-forma-theme="light"] .forma-profile-status-overview .forma-profile-status-recommendation-card strong{color:var(--forma-accent)!important}
html[data-forma-theme="light"] .forma-profile-status-overview .forma-profile-status-recommendation-card p{color:var(--forma-text-2)!important}
html[data-forma-theme="light"] .forma-profile-status-overview .forma-profile-status-recommendation-card>a,
html[data-forma-theme="light"] .forma-profile-status-overview .forma-profile-status-actions a:first-child{border-color:var(--forma-accent)!important;background:var(--forma-accent)!important;color:#FFFFFF!important;box-shadow:none!important}
html[data-forma-theme="light"] .forma-profile-status-overview .forma-profile-status-recommendation-card.is-complete{border-color:color-mix(in srgb,#2E7A52 35%,var(--forma-border))!important;background:color-mix(in srgb,#2E7A52 8%,var(--forma-panel))!important}
html[data-forma-theme="light"] .forma-profile-status-overview :is(.forma-profile-status-actions a,.forma-profile-status-access-cta){border-color:var(--forma-border)!important;color:var(--forma-text)!important;background:transparent}
html[data-forma-theme="light"] .forma-profile-status-overview .forma-profile-status-access-list>a:hover{border-color:var(--forma-accent)!important;background:var(--forma-panel-2)!important}
@media (max-width:639px){html[data-forma-theme="light"] .fpv .fpv-iconbtn{background:color-mix(in srgb,var(--forma-panel) 90%,transparent)!important}}

/* 4. Forma header / footer (ECM_Public_Shell + user-header.css): token-driven already; literal leftovers. */
html[data-forma-theme="light"] .ecm-user-header__logout{color:#B23E3E!important}

/* 5. FAQ chat “Forma Help” (help-chat.css). */
html[data-forma-theme="light"] .forma-hc{--hc-bubble:var(--forma-panel-2)}
html[data-forma-theme="light"] .forma-hc__msg.is-bot strong{color:var(--forma-text)}
html[data-forma-theme="light"] .forma-hc__msg.is-bot a,
html[data-forma-theme="light"] .forma-hc__option.is-write{color:var(--forma-accent)}
html[data-forma-theme="light"] .forma-hc__msg-action{color:var(--forma-accent-hover)!important}
html[data-forma-theme="light"] .forma-hc__skeleton i{background:linear-gradient(-90deg,var(--forma-panel-2) 0%,#E4E2DC 50%,var(--forma-panel-2) 100%);background-size:200% 100%}
html[data-forma-theme="light"] .forma-hc__error{color:#8E2F2F}
html[data-forma-theme="light"] .fpv .fpv-cover__edit{background:color-mix(in srgb,var(--forma-panel) 90%,transparent)!important;color:var(--forma-text)!important}

/* 6. Native home / about / single pages (native-pages.css, --fn-* palette). */
html[data-forma-theme="light"] .forma-native-main{
  --fn-page:var(--forma-page);--fn-panel:var(--forma-panel);--fn-soft:var(--forma-panel-2);--fn-text:var(--forma-text);
  --fn-muted:var(--forma-muted);--fn-line:rgba(20,20,20,.12);--fn-card:var(--forma-panel);--fn-tone:#EEEDE8;--fn-accent-text:var(--forma-accent);
}
html[data-forma-theme="light"] body.forma-native-page{background:var(--forma-page)}
html[data-forma-theme="light"] .forma-native-home .fn-section-head>a,
html[data-forma-theme="light"] .fn-call-card .fn-call-where,
html[data-forma-theme="light"] .fn-portal-count{color:var(--forma-text-2)}
html[data-forma-theme="light"] .fn-chip.is-hot,
html[data-forma-theme="light"] .fn-portals a.has-live .fn-portal-count{color:#FFFFFF}
html[data-forma-theme="light"] .forma-native-home .fn-closing{background:var(--forma-panel-2);border-color:color-mix(in srgb,var(--forma-accent) 25%,transparent)!important}
html[data-forma-theme="light"] .fn-call-card a{border-color:var(--forma-border)}

/* 7. Dark islands: photo heroes, “contrast” editorial surfaces and quotes over images stay dark in
 * light mode on purpose (white text over a photograph / statement blocks). Tokens are reset to the
 * dark palette inside them so every child keeps its dark-mode colours. */
html[data-forma-theme="light"] :is(.fn-cinematic-hero,.forma-native-home .fn-portals--docked,.fn-surface-contrast,.fn-about-statement){
  color-scheme:dark;
  --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-accent:#1E7B8D;--forma-accent-hover:#155E6C;
  --fn-page:#0b0c0c;--fn-panel:#101212;--fn-soft:#151818;--fn-text:#f3f4f2;--fn-muted:#9ba29e;--fn-line:rgba(255,255,255,.12);
  --fn-card:#121515;--fn-tone:#111414;--fn-accent-text:#7cc6d4;--fn-accent:#1E7B8D;
  color:var(--fn-text);
}
html[data-forma-theme="light"] .forma-native-home .fn-portals--docked :is(.fn-section-head>a,.fn-portal-count){color:#c9cecb}
html[data-forma-theme="light"] .forma-native-home .fn-portals--docked a.has-live .fn-portal-count,
html[data-forma-theme="light"] :is(.fn-cinematic-hero,.fn-surface-contrast) .fn-chip.is-hot{color:#0b0c0c}

/* 8. Component palettes (site-wide, since 1.84.507). Each public/workspace component that keeps
 * its own dark palette in local variables gets the same variables pointed at the light tokens. */
html[data-forma-theme="light"]{
  --forma-bg:var(--forma-page);
  --ecm-ux-bg:var(--forma-page);--ecm-ux-card:var(--forma-panel);--ecm-ux-surface:var(--forma-panel-2);--ecm-ux-text:var(--forma-text);
  --ecm-ux-muted:var(--forma-muted);--ecm-ux-border:var(--forma-border);
  --ecm-text:var(--forma-text);--ecm-card:var(--forma-panel);--ecm-border:var(--forma-border);--ecm-muted:var(--forma-muted);
  --ecm-panel:var(--forma-panel);--ecm-panel-soft:var(--forma-panel-2);--ecm-line:var(--forma-border);--ecm-surface:var(--forma-panel);--ecm-surface-2:var(--forma-panel-2);
}
html[data-forma-theme="light"] .forma-art-stream-single{
  --fas-bg:var(--forma-page);--fas-s1:var(--forma-panel);--fas-s2:var(--forma-panel-2);--fas-border:var(--forma-border);--fas-border-soft:var(--forma-border);
  --fas-text:var(--forma-text);--fas-text-2:var(--forma-text-2);--fas-muted:var(--forma-muted);--fas-cyan:var(--forma-accent);--fas-cyan-2:var(--forma-accent-hover);
  --fas-green:#2E7A52;--fas-amber:#8A5F12;
}
html[data-forma-theme="light"] .forma-program-single{
  --fps-bg:var(--forma-page);--fps-surface:var(--forma-panel);--fps-surface-2:var(--forma-panel-2);--fps-surface-3:var(--forma-panel-2);
  --fps-border:var(--forma-border);--fps-border-soft:var(--forma-border);--fps-text:var(--forma-text);--fps-text-2:var(--forma-text-2);--fps-muted:var(--forma-muted);
  --fps-cyan:var(--forma-accent);--fps-cyan-soft:var(--forma-accent-hover);--fps-green:#2E7A52;--fps-amber:#8A5F12;
}
html[data-forma-theme="light"] .ecm-programs-directory{--pd-bg:var(--forma-page);--pd-panel:var(--forma-panel);--pd-line:var(--forma-border);--pd-text:var(--forma-text);--pd-muted:var(--forma-muted);--pd-accent:var(--forma-accent)}
html[data-forma-theme="light"] .ecm-call-editor{
  --call-editor-bg:var(--forma-page);--call-editor-panel:var(--forma-panel);--call-editor-panel-soft:var(--forma-panel-2);--call-editor-field:var(--forma-panel);
  --call-editor-border:var(--forma-border);--call-editor-border-soft:var(--forma-border);--call-editor-text:var(--forma-text);--call-editor-text-2:var(--forma-text-2);
  --call-editor-muted:var(--forma-muted);--call-editor-accent:var(--forma-accent);--call-editor-focus:var(--forma-accent);
}
html[data-forma-theme="light"] :is(.ecm-call-track-nav,.ecm-call-submission){
  --call-bg:var(--forma-page);--call-panel:var(--forma-panel);--call-soft:var(--forma-panel-2);--call-border:var(--forma-border);--call-text:var(--forma-text);--call-text-2:var(--forma-text-2);
}
html[data-forma-theme="light"] .ecm-maktubat-directory-shell{--mkd-bg:var(--forma-page);--mkd-card:var(--forma-panel);--mkd-card2:var(--forma-panel-2);--mkd-border:var(--forma-border);--mkd-border-soft:var(--forma-border);--mkd-accent:var(--forma-accent);--mkd-text:var(--forma-text);--mkd-muted:var(--forma-muted)}
html[data-forma-theme="light"] .forma-media-story{--mr-ink:var(--forma-text);--mr-copy:var(--forma-text-2);--mr-muted:var(--forma-muted);--mr-line:var(--forma-border);--mr-panel:var(--forma-panel);--mr-teal:var(--forma-accent)}
html[data-forma-theme="light"] .ecm-artwork{--ar-bg:var(--forma-page);--ar-panel:var(--forma-panel);--ar-panel-2:var(--forma-panel-2);--ar-line:var(--forma-border);--ar-line-strong:color-mix(in srgb,var(--forma-accent) 45%,var(--forma-border));--ar-text:var(--forma-text);--ar-muted:var(--forma-muted);--ar-accent:var(--forma-accent);--ar-success:#2E7A52;--ar-warn:#8A5F12;--ar-danger:#B23E3E}
html[data-forma-theme="light"] .ecm-user-header{--euh-text:var(--forma-text);--euh-muted:var(--forma-text-2);--euh-border:var(--forma-border)}
html[data-forma-theme="light"] .forma-user-workspace{--uw-card:var(--forma-panel);--uw-card-hi:var(--forma-panel-2);--uw-line:var(--forma-border);--uw-glow:color-mix(in srgb,var(--forma-accent) 12%,transparent)}
html[data-forma-theme="light"] .forma-user-workspace--home{--uw-home-bg:var(--forma-page);--uw-home-panel:var(--forma-panel);--uw-home-panel-2:var(--forma-panel-2);--uw-home-border:var(--forma-border);--uw-home-text:var(--forma-text);--uw-home-muted:var(--forma-muted);--uw-home-accent:#3F5BC4;--uw-home-cyan:var(--forma-accent);--uw-home-green:#256843;--uw-home-amber:#8A5F12}
html[data-forma-theme="light"] .ecm-access-requests-page{--arp-accent:var(--forma-accent);--arp-panel:var(--forma-panel);--arp-panel-2:var(--forma-panel-2);--arp-border:var(--forma-border);--arp-text:var(--forma-text);--arp-muted:var(--forma-muted)}
html[data-forma-theme="light"] .forma-professional-hub{--hub-bg:var(--forma-panel);--hub-soft:var(--forma-panel-2);--hub-ink:var(--forma-text);--hub-muted:var(--forma-muted);--hub-line:var(--forma-border);--hub-accent:var(--forma-accent)}

/* Browser-drawn controls (default link colour, scrollbars, date pickers) follow the page. */
html[data-forma-theme="light"] body:not(.wp-admin) :where([class]){color-scheme:light}
html[data-forma-theme="light"] body :is(.fn-cinematic-hero,.fn-portals--docked,.fn-surface-contrast,.fn-about-statement) :where([class]){color-scheme:dark}

/* frontend.css legacy surfaces */
html[data-forma-theme="light"] .ecm-content-section-heading{background:var(--forma-panel);border-color:var(--forma-border)}
html[data-forma-theme="light"] .ecm-content-section-copy h2{color:var(--forma-text)}
html[data-forma-theme="light"] .ecm-content-section-copy p{color:var(--forma-text-2)}
html[data-forma-theme="light"] .ecm-programs-directory__hero{background:var(--forma-panel)}
html[data-forma-theme="light"] :is(.ecm-programs-directory__tabs,.ecm-programs-directory__search input){background:var(--forma-panel)}
html[data-forma-theme="light"] :is(.ecm-programs-directory__tabs a.is-active,.ecm-programs-directory__search button){color:#FFFFFF}
html[data-forma-theme="light"] .ecm-program-card__media{background:var(--forma-panel-2);color:var(--forma-muted)}
html[data-forma-theme="light"] .ecm-program-card__media b{background:color-mix(in srgb,var(--forma-panel) 90%,transparent);border-color:color-mix(in srgb,var(--forma-accent) 40%,transparent);color:var(--forma-accent)}
html[data-forma-theme="light"] .ecm-program-card__footer a{color:var(--forma-accent)}
html[data-forma-theme="light"] .ecm-program-card:hover{border-color:var(--forma-accent)}
/* Badges on cards */
html[data-forma-theme="light"] .ecm-call-badge.ecm-badge-expired{color:var(--forma-text-2)}
html[data-forma-theme="light"] .forma-events-directory-badge{color:#FFFFFF}
/* Workspace (since 1.84.507) */
html[data-forma-theme="light"] .ecm-maktubat-search>span{color:#11535F}
html[data-forma-theme="light"] .ecm-forma-select-wrap,html[data-forma-theme="light"] .ecm-forma-select-value{color:var(--forma-text)}
html[data-forma-theme="light"] .ecm-maktubat-dossier-label{background:rgba(255,255,255,.92);border-radius:999px;padding-inline:8px;width:max-content;max-width:100%}
/* Maktubat dossier submission tag (since 1.84.509), same as the Workspace dossier card */
html[data-forma-theme="light"] .forma-dossier-status{background:#7A530F;color:#FFFFFF}
html[data-forma-theme="light"] .forma-dossier-status.is-closed{background:var(--forma-panel-2);color:var(--forma-text);border:1px solid rgba(20,20,20,.2)}
html[data-forma-theme="light"] .forma-dossier-status.is-on-media{box-shadow:0 4px 14px rgba(20,20,20,.07)}

/* 1.84.519 — Art Stream status: card pill + record label */
html[data-forma-theme="light"] .forma-events-directory-media .forma-events-directory-status{background:rgba(255,255,255,.86);color:#24343a}
html[data-forma-theme="light"] .forma-events-directory-media .forma-events-directory-status:before{background:#8a979b}
html[data-forma-theme="light"] .forma-events-directory-media .forma-events-directory-status.is-upcoming:before{background:#b8860b}
html[data-forma-theme="light"] .forma-events-directory-media .forma-events-directory-status.is-ongoing:before{background:#1f9d6c;box-shadow:0 0 0 3px rgba(31,157,108,.18)}
html[data-forma-theme="light"] .forma-art-stream-single .forma-art-stream-single__header-state .forma-art-stream-single__status{color:#3d4d52}
html[data-forma-theme="light"] .forma-art-stream-single .forma-art-stream-single__header-state .forma-art-stream-single__status:before{background:#8a979b}
html[data-forma-theme="light"] .forma-art-stream-single .forma-art-stream-single__header-state .forma-art-stream-single__status.is-upcoming:before{background:#b8860b}
html[data-forma-theme="light"] .forma-art-stream-single .forma-art-stream-single__header-state .forma-art-stream-single__status.is-ongoing{color:#17684a}
html[data-forma-theme="light"] .forma-art-stream-single .forma-art-stream-single__header-state .forma-art-stream-single__status.is-ongoing:before{background:#1f9d6c}

/* 1.84.537 — hero login box. The cinematic hero stays a dark island, but the login box on it
 * follows the theme: a light panel with the light palette. Only the --hl-* tokens change, so the
 * toggle switches it instantly in both directions (rules live in native-pages.css). */
html[data-forma-theme="light"] .fn-cinematic-hero .fn-hero-login{
  color-scheme:light;
  --hl-bg:rgba(255,255,255,.96);--hl-line:#DCDAD4;--hl-text:#151515;--hl-text-2:#555555;--hl-label:#1f1f1f;
  --hl-field:#FFFFFF;--hl-field-line:#CBC9C2;--hl-focus:#176B7B;--hl-placeholder:#8a8a8a;
  --hl-accent:#176B7B;--hl-accent-ink:#FFFFFF;--hl-accent-hover:#125866;--hl-link:#176B7B;--hl-eyebrow:#176B7B;
  --hl-shadow:0 16px 50px rgba(0,0,0,.24);
}
