/*
PORKBELLY SAFE APPEARANCE · 2026-11-03
Temporary launch safety gate: use the approved light palette independent of
OS/browser dark preference. Do not return to automatic dark appearance until
real, signed-in and guest browser acceptance tests pass.
This file is loaded only on the owning public product's pages, not wp-admin.
*/
:root { color-scheme: only light !important; }
:where(.pbcore-app,.sma-page-layout,.smasc,.pbgm-app,.star-id,.sc-root,.sdo-site,.sdot-root,.bsocial){color-scheme:only light!important;}

/* Explicit viewport scheme stops browser auto-dark from rewriting our surfaces. */
:root:has(.pbgm-app),:root:has(.sma-page-layout){color-scheme:only light;}

/* 2.3.5 · Star Gig/Gig Monster, shared companion frame, dark-aware contrast. */
.pbgm-app,.sma-page-layout{color-scheme:only light;}

@media(forced-colors:active){.sma-page-layout .sma-suite-brand>span:last-child{background:none!important;-webkit-text-fill-color:currentColor!important;color:CanvasText!important;}}

/* PB COLOR CONTRACT 1.0 · Shared source: build_color_system.py
   Same visual hierarchy in light, dark and reduced-contrast situations.
   Only paint changes: no component measurements, position, display or navigation. */
:where(.pbcore-app,.pbgm-app,.sma-page-layout,.smasc,.star-id,.sc-root,.sdo-site,.sdot-root,.bsocial){
 --pb-ui-bg:#fffafd;--pb-ui-card:#ffffff;--pb-ui-card-soft:#fff3f8;
 --pb-ui-text:#312331;--pb-ui-muted:#635665;--pb-ui-line:#e3cbd9;
 --pb-ui-input:#ffffff;--pb-ui-hint:#726576;--pb-ui-accent:#942a5c;
 --pb-ui-focus:#a22f70;--pb-ui-grad-a:#7e254e;--pb-ui-grad-b:#a23774;
 --pb-ui-hero-text:#fff8fc;--pb-ui-hero-muted:#ffe6f2;
}

@media(forced-colors:active){
 :where(.pbcore-app,.pbgm-app,.sma-page-layout,.smasc,.star-id,.sc-root,.sdo-site,.sdot-root,.bsocial) :is(h1,h2,h3,.pbcore-brandword,.sma-suite-brand>span:last-child){
 background-image:none!important;-webkit-text-fill-color:currentColor!important;color:CanvasText!important;
 }
}

/* Identical companion navigation rule across Gig, Staff and Star ID. */

 .sma-page-layout .sma-suite-navigation{background:#fffafd!important;color:#332437!important;border-color:#e2ccda!important;}
 .sma-page-layout .sma-suite-brand>span:last-child{background:linear-gradient(102deg,#64223f,#942b63 65%,#673f90)!important;background-clip:text!important;-webkit-background-clip:text!important;-webkit-text-fill-color:transparent!important;color:#57243d!important;}
 .sma-page-layout .sma-suite-brand small{background:none!important;color:#9a3462!important;-webkit-text-fill-color:#9a3462!important;}
 .sma-page-layout .sma-suite-links a{color:#594b5e!important;-webkit-text-fill-color:#594b5e!important;}
 .sma-page-layout .sma-suite-links a.is-current{background:#ffebf2!important;color:#8c2555!important;-webkit-text-fill-color:#8c2555!important;}




 .pbgm-app :is(.pbgm-star-find-intro,.pbgm-star-filters,.pbgm-panel,.pbgm-discovery-card,.pbgm-star-card){color:var(--pb-ui-text)!important;}
 .pbgm-app :is(.pbgm-star-find-intro,.pbgm-star-filters,.pbgm-panel,.pbgm-discovery-card,.pbgm-star-card) :is(p,small){color:var(--pb-ui-muted)!important;}
 .pbgm-app :is(.pbgm-star-find-intro,.pbgm-star-filters) :is(h2,h3,strong){color:#5b2245!important;-webkit-text-fill-color:#5b2245!important;background:none!important;}



/* Accessibility high-contrast mode: same geometry, stronger colours, solid readable titles. */
@media(prefers-contrast:more){
 :where(.pbcore-app,.pbgm-app,.sma-page-layout,.smasc,.star-id,.sc-root,.sdo-site,.sdot-root,.bsocial){
 --pb-ui-muted:CanvasText;--pb-ui-line:CanvasText;--pb-ui-hint:CanvasText;
 }
 :where(.pbcore-app,.pbgm-app,.sma-page-layout,.smasc,.star-id,.sc-root,.sdo-site,.sdot-root,.bsocial)
 :is(.pbcore-catalog-banner h1,.pbcore-quick-heading h2,.sma-suite-brand>span:last-child,.sc-hero h1,.bsocial-hero h1){
 background-image:none!important;-webkit-text-fill-color:currentColor!important;
 }
}

/* LAST CASCADE LAYER: high-contrast rendering always wins over gradients. */
@media(forced-colors:active){
 html body.pb-unified .pbcore-app :is(.pbcore-catalog-banner,.pbcore-quick-heading,.pbcore-agency-intro,.pbcore-agency-match-panel) :is(h1,h2),
 html body.pb-unified .pbcore-app .pbcore-head .pbcore-brandword,
 html body .sma-page-layout .sma-suite-brand>span:last-child,
 html body .star-id .star-id-hero h1,
 html body .sc-root .sc-hero h1,
 html body .bsocial .bsocial-hero h1,
 html body .sdo-site :is(h1,h2),
 html body .sdot-root :is(h1,h2){
  background:none!important;background-image:none!important;
  -webkit-text-fill-color:CanvasText!important;color:CanvasText!important;
 }
}
@media(prefers-contrast:more){
 html body.pb-unified .pbcore-app :is(.pbcore-catalog-banner,.pbcore-quick-heading) :is(h1,h2),
 html body .sma-page-layout .sma-suite-brand>span:last-child,
 html body .star-id .star-id-hero h1,
 html body .sc-root .sc-hero h1,
 html body .bsocial .bsocial-hero h1{
  background:none!important;background-image:none!important;
  -webkit-text-fill-color:currentColor!important;
 }
}


/* PB SURFACE/INK CONTRACT 2.0 — shared across Porkbelly cloud plugins.
 * A surface owns its text.  Light islands are not allowed to inherit dark-shell white.
 * Nothing in this contract changes dimensions, layout, animation, identity, or workflow.
 * This is the source copy; do not add one-off dark-mode colours to new widgets.
 */
:where(.pbcore-app,.pbgm-app,.sma-page-layout,.smasc,.star-id,.sc-root,.sdo-site,.sdot-root,.bsocial){
  --pb-surface:#ffffff;--pb-surface-alt:#fff8fb;--pb-on-surface:#302332;
  --pb-on-surface-muted:#645566;--pb-on-surface-hint:#776879;
  --pb-stroke:#ddc6d5;--pb-surface-input:#ffffff;
  --pb-interactive:#8a2458;--pb-interactive-hover:#702047;
  --pb-on-interactive:#ffffff;--pb-dark-surface:#302536;--pb-on-dark:#fff5fb;
  --pb-on-dark-muted:#e6d5e4;
  --pb-ink-gradient:linear-gradient(100deg,#65213c,#a23671 60%,#71408c);
}

/* Explicitly declare contrast for the browser's automatic theme handling.
 * Android forced-auto-dark may otherwise invert a panel but not its text. */

  :where(.pbcore-app,.pbgm-app,.sma-page-layout,.smasc,.star-id,.sc-root,.sdo-site,.sdot-root,.bsocial){color-scheme:only light;}


/* Current text rather than a transparent gradient must win in OS forced-colour mode. */
@media(forced-colors:active){
  :where(.pbcore-app,.pbgm-app,.sma-page-layout,.smasc,.star-id,.sc-root,.sdo-site,.sdot-root,.bsocial) :is(h1,h2,h3,h4,.pbcore-brandword,.sma-suite-brand>span:last-child){
    background-image:none!important;-webkit-text-fill-color:currentColor!important;
  }
}


/* Gig Monster: search + empty results were not included in the old surface map. */

 html body .pbgm-app :is(.pbgm-empty,.pbgm-discovery-empty,.pbgm-star-footer,
 .pbgm-star-find-intro,.pbgm-star-filters,.pbgm-star-card,.pbgm-panel,
 .pbgm-star-search,.pbgm-discovery-card){background-color:var(--pb-surface)!important;color:var(--pb-on-surface)!important;border-color:var(--pb-stroke)!important;}
 html body .pbgm-app :is(.pbgm-empty,.pbgm-discovery-empty,.pbgm-star-footer,.pbgm-star-find-intro,
 .pbgm-star-filters,.pbgm-star-card,.pbgm-panel,.pbgm-discovery-card) :is(h2,h3,h4,summary,strong,b,label){
 color:#3c263e!important;-webkit-text-fill-color:#3c263e!important;background-image:none!important;}
 html body .pbgm-app :is(.pbgm-empty,.pbgm-discovery-empty,.pbgm-star-find-intro,
 .pbgm-star-card,.pbgm-discovery-card) :is(p,small){color:var(--pb-on-surface-muted)!important;-webkit-text-fill-color:var(--pb-on-surface-muted)!important;}


/* Shared suite navigation must have a matching surface + brand ink as one unit. */

 html body .sma-page-layout .sma-suite-navigation{background:#fffafd!important;color:#39263e!important;color-scheme:only light;}
 html body .sma-page-layout .sma-suite-navigation .sma-suite-brand>span:last-child{
 background:var(--pb-ink-gradient)!important;background-clip:text!important;-webkit-background-clip:text!important;-webkit-text-fill-color:transparent!important;color:#632746!important;}
 html body .sma-page-layout .sma-suite-navigation .sma-suite-links a{color:#604a5b!important;-webkit-text-fill-color:#604a5b!important;}
 html body .sma-page-layout .sma-suite-navigation .sma-suite-links a.is-current{background:#fff0f6!important;color:#782752!important;-webkit-text-fill-color:#782752!important;}






/* PB READABILITY CONTRACT 3.0 — 2026-11-03
   Source-owned. No geometry, content, identity, booking, or transaction changes.
   Explicit surfaces plus their corresponding ink prevent mixed dark/white components.
   Decorative gradients are deliberately excluded from working copy. */
:where(.pbcore-app,.smasc,.pbgm-app,.star-id,.sc-root,.sdo-site,.sdot-root,.bsocial){
  --pb-safe-card:#fffafd;--pb-safe-ink:#302332;--pb-safe-muted:#605363;
  --pb-safe-hint:#716276;--pb-safe-border:#d9c2d3;
  --pb-safe-field:#fff;--pb-safe-soft:#fff3f8;--pb-safe-link:#852958;
  --pb-safe-dark:#27202e;--pb-safe-dark-ink:#fff2fa;--pb-safe-dark-muted:#e0d2e1;
}

/* Native darkening of a separately painted surface is not allowed. The app paints both. */
:where(.pbcore-app,.smasc,.pbgm-app,.star-id,.sc-root,.sdo-site,.sdot-root,.bsocial){color-scheme:only light;}
@media(forced-colors:active){
 :where(.pbcore-app,.smasc,.pbgm-app,.star-id,.sc-root,.sdo-site,.sdot-root,.bsocial) :is(h1,h2,h3,h4,p,span,small,label,strong){
  background-image:none!important;-webkit-text-fill-color:CanvasText!important;color:CanvasText!important;
 }
}


/* Shared three-product companion navigation. Preserve the same nav geometry. */
html body.pb-unified .sma-page-layout .sma-suite-navigation{color-scheme:only light!important;background:#fffafd!important;background-image:none!important;color:#342638!important;border-color:#d9c2d3!important;}
html body.pb-unified .sma-page-layout .sma-suite-brand>span:last-child{background:none!important;background-image:none!important;-webkit-text-fill-color:#602943!important;color:#602943!important;}
.sma-page-layout .sma-suite-brand small{background:none!important;-webkit-text-fill-color:#914064!important;color:#914064!important;}
.sma-page-layout .sma-suite-links a{color:#55455c!important;-webkit-text-fill-color:#55455c!important;}
.sma-page-layout .sma-suite-links a.is-current{background:#fce6f1!important;color:#772447!important;-webkit-text-fill-color:#772447!important;}



/* Staff workspaces — Staff Office cards, notifications and HR forms. */
html body.pb-unified .smasc :is(.smasc-card,.smasc-panel,.smasc-activity-digest,.smasc-person,.smasc-workspace,.smasc-tablewrap,.smasc-form,.smasc-digest-line,.smasc-record,.smasc-find-result){
 background:var(--pb-safe-card)!important;color:var(--pb-safe-ink)!important;border-color:var(--pb-safe-border)!important;
 -webkit-text-fill-color:var(--pb-safe-ink)!important;
}
html body.pb-unified .smasc :is(.smasc-card,.smasc-panel,.smasc-activity-digest,.smasc-person,.smasc-workspace,.smasc-form,.smasc-digest-line,.smasc-record,.smasc-find-result)
 :is(h2,h3,h4,legend,label,summary,strong,b,.smasc-label,.smasc-section-head,.smasc-digest-head){
 background-image:none!important;color:var(--pb-safe-ink)!important;-webkit-text-fill-color:var(--pb-safe-ink)!important;
}
html body.pb-unified .smasc :is(.smasc-card,.smasc-panel,.smasc-activity-digest,.smasc-person,.smasc-workspace,.smasc-form,.smasc-digest-line,.smasc-record,.smasc-find-result)
 :is(p,small,time,td,.smasc-muted,.smasc-copy,.smasc-desc,.smasc-description){
 background-image:none!important;color:var(--pb-safe-muted)!important;-webkit-text-fill-color:var(--pb-safe-muted)!important;
}
html body.pb-unified .smasc :is(.smasc-digest-line strong,.smasc-digest-line b,.smasc-digest-line span,.smasc-digest-line time){
 color:var(--pb-safe-ink)!important;-webkit-text-fill-color:var(--pb-safe-ink)!important;
}
html body.pb-unified .smasc :is(input:not([type=checkbox]),select,textarea){
 color-scheme:only light;background:var(--pb-safe-field)!important;color:var(--pb-safe-ink)!important;
 -webkit-text-fill-color:var(--pb-safe-ink)!important;border-color:var(--pb-safe-border)!important;
}
html body.pb-unified .smasc :is(input,textarea)::placeholder{color:var(--pb-safe-hint)!important;-webkit-text-fill-color:var(--pb-safe-hint)!important;opacity:1!important;}
/* A quiet button stays high contrast even when its parent is on a dark canvas. */
html body.pb-unified .smasc .smasc-btn-quiet{background:var(--pb-safe-soft)!important;color:var(--pb-safe-link)!important;-webkit-text-fill-color:var(--pb-safe-link)!important;border-color:var(--pb-safe-border)!important;}
html body.pb-unified .smasc .smasc-btn:not(.smasc-btn-quiet){color:#fff!important;-webkit-text-fill-color:#fff!important;}
/* Staff hero remains a dark branded hero with white foreground, not a generic card. */
html body.pb-unified .smasc .smasc-hero :is(h1,h2,h3,p){color:#fff4fa!important;-webkit-text-fill-color:#fff4fa!important;}


/* Main marketplace: studios, opportunities, empty results, cards, account & check-in. */
html body.pb-unified .pbcore-app :is(.pbcore-intent-card,.pbcore-studio-card,.pbcore-model-card,.pbcore-agency-card,.pbcore-member-card,.pbcore-auth-card,.pbcore-landing-plan,.pbcore-empty,.pbcore-detail-sidebar,.pbcore-quick-group-links a,.pbcore-quick-links a){
 background:var(--pb-safe-card)!important;color:var(--pb-safe-ink)!important;border-color:var(--pb-safe-border)!important;
}
html body.pb-unified .pbcore-app :is(.pbcore-intent-card,.pbcore-studio-card,.pbcore-model-card,.pbcore-agency-card,.pbcore-member-card,.pbcore-auth-card,.pbcore-landing-plan,.pbcore-empty,.pbcore-detail-sidebar,.pbcore-quick-group-links a,.pbcore-quick-links a)
 :is(h2,h3,h4,strong,b,label,legend,summary){background-image:none!important;color:var(--pb-safe-ink)!important;-webkit-text-fill-color:var(--pb-safe-ink)!important;}
html body.pb-unified .pbcore-app :is(.pbcore-intent-card,.pbcore-studio-card,.pbcore-model-card,.pbcore-agency-card,.pbcore-member-card,.pbcore-auth-card,.pbcore-landing-plan,.pbcore-empty,.pbcore-detail-sidebar,.pbcore-quick-group-links a,.pbcore-quick-links a)
 :is(p,small,.pbcore-muted,.pbcore-subnote,.pbcore-desc){color:var(--pb-safe-muted)!important;-webkit-text-fill-color:var(--pb-safe-muted)!important;}
/* Preserve explicitly dark pricing/intro tiles with light ink. */
html body.pb-unified .pbcore-app :is(.pbcore-for-provider,.pbcore-for-client,.pbcore-landing-plan:last-child){background:var(--pb-safe-dark)!important;color:var(--pb-safe-dark-ink)!important;}
html body.pb-unified .pbcore-app :is(.pbcore-for-provider,.pbcore-for-client,.pbcore-landing-plan:last-child) :is(h2,h3,h4,strong,b,span){background-image:none!important;color:var(--pb-safe-dark-ink)!important;-webkit-text-fill-color:var(--pb-safe-dark-ink)!important;}
html body.pb-unified .pbcore-app :is(.pbcore-for-provider,.pbcore-for-client,.pbcore-landing-plan:last-child) p{color:var(--pb-safe-dark-muted)!important;-webkit-text-fill-color:var(--pb-safe-dark-muted)!important;}
/* Unboxed editorial sections sit on a light canvas irrespective of shell preference. */
html body.pb-unified .pbcore-app :is(.pbcore-studio-category-block,.pbcore-external-gigs,.pbcore-external-head){background:#fffafd!important;color:#302332!important;color-scheme:only light;}
html body.pb-unified .pbcore-app :is(.pbcore-studio-category-block,.pbcore-external-gigs,.pbcore-external-head) :is(h2,h3,h4,p,small,strong){background-image:none!important;color:#302332!important;-webkit-text-fill-color:#302332!important;}
html body.pb-unified .pbcore-app :is(.pbcore-studio-category-block,.pbcore-external-gigs) .pbcore-eyebrow{color:#932d5d!important;-webkit-text-fill-color:#932d5d!important;}
/* Check-In title is informational, not an ornamental cut-out gradient. */
html body.pb-unified .pbcore-app .pbcore-checkin-dialog{background-color:#fffbfe!important;background-image:linear-gradient(140deg,#fffbfe,#f7f2ff 64%,#ecf9ff)!important;color:#41243e!important;color-scheme:only light!important;}
html body.pb-unified .pbcore-app .pbcore-checkin-dialog{background-color:#fffbfe!important;background-image:linear-gradient(140deg,#fffbfe,#f7f2ff 64%,#ecf9ff)!important;color:#41243e!important;color-scheme:only light!important;}
html body.pb-unified .pbcore-app .pbcore-checkin-heading h2{background:none!important;color:#41243e!important;-webkit-text-fill-color:#41243e!important;}
/* Forms only change paint, never width or widget layout. */
html body.pb-unified .pbcore-app :is(input:not([type=checkbox]),select,textarea){background:var(--pb-safe-field)!important;color:var(--pb-safe-ink)!important;-webkit-text-fill-color:var(--pb-safe-ink)!important;border-color:var(--pb-safe-border)!important;}
html body.pb-unified .pbcore-app :is(input,textarea)::placeholder{color:var(--pb-safe-hint)!important;-webkit-text-fill-color:var(--pb-safe-hint)!important;opacity:1!important;}
/* App hero and approved cinematic surfaces retain white readable headings. */
html body.pb-unified .pbcore-app .pbcore-catalog-banner :is(h1,h2,h3,p){color:#fff7fc!important;-webkit-text-fill-color:#fff7fc!important;}


/* Gig Monster / Star Gig: approved listing cards and all states of search. */
html body.pb-unified .pbgm-app :is(.pbgm-panel,.pbgm-star-card,.pbgm-discovery-card,.pbgm-star-find-intro,.pbgm-star-filters,.pbgm-star-search,.pbgm-corporate-welcome,.pbgm-channel-panel,.pbgm-list-card,.pbgm-monster-card){background:var(--pb-safe-card)!important;color:var(--pb-safe-ink)!important;border-color:var(--pb-safe-border)!important;}
html body.pb-unified .pbgm-app :is(.pbgm-panel,.pbgm-star-card,.pbgm-discovery-card,.pbgm-star-find-intro,.pbgm-star-filters,.pbgm-star-search,.pbgm-corporate-welcome,.pbgm-channel-panel,.pbgm-list-card,.pbgm-monster-card)
 :is(h2,h3,h4,strong,b,legend,label,summary){background-image:none!important;color:var(--pb-safe-ink)!important;-webkit-text-fill-color:var(--pb-safe-ink)!important;}
html body.pb-unified .pbgm-app :is(.pbgm-panel,.pbgm-star-card,.pbgm-discovery-card,.pbgm-star-find-intro,.pbgm-star-filters,.pbgm-star-search,.pbgm-corporate-welcome,.pbgm-channel-panel,.pbgm-list-card,.pbgm-monster-card)
 :is(p,small,.pbgm-muted,.pbgm-description){background-image:none!important;color:var(--pb-safe-muted)!important;-webkit-text-fill-color:var(--pb-safe-muted)!important;}
html body.pb-unified .pbgm-app :is(input:not([type=checkbox]),select,textarea){background:var(--pb-safe-field)!important;color:var(--pb-safe-ink)!important;-webkit-text-fill-color:var(--pb-safe-ink)!important;border-color:var(--pb-safe-border)!important;}
html body.pb-unified .pbgm-app :is(input,textarea)::placeholder{color:var(--pb-safe-hint)!important;-webkit-text-fill-color:var(--pb-safe-hint)!important;opacity:1!important;}


/* Star ID, Rights & Royalties, StarPods, Creator, Director and Belly Social. */
html body :is(.star-id,.sc-root,.sdo-site,.sdot-root,.bsocial) :is(.star-id-card,.sc-card,.sc-panel,.sc-box,.sc-case,.sc-form,.sdo-card,.sdot-card,.sdot-panel,.bsocial-card,.bsocial-post,.bsocial-panel){
 background:var(--pb-safe-card)!important;color:var(--pb-safe-ink)!important;border-color:var(--pb-safe-border)!important;
}
html body :is(.star-id,.sc-root,.sdo-site,.sdot-root,.bsocial) :is(.star-id-card,.sc-card,.sc-panel,.sc-box,.sc-case,.sc-form,.sdo-card,.sdot-card,.sdot-panel,.bsocial-card,.bsocial-post,.bsocial-panel)
 :is(h2,h3,h4,strong,b,label,legend,summary){background-image:none!important;color:var(--pb-safe-ink)!important;-webkit-text-fill-color:var(--pb-safe-ink)!important;}
html body :is(.star-id,.sc-root,.sdo-site,.sdot-root,.bsocial) :is(.star-id-card,.sc-card,.sc-panel,.sc-box,.sc-case,.sc-form,.sdo-card,.sdot-card,.sdot-panel,.bsocial-card,.bsocial-post,.bsocial-panel)
 :is(p,small,.muted,.sc-muted,.sdot-muted){color:var(--pb-safe-muted)!important;-webkit-text-fill-color:var(--pb-safe-muted)!important;}
html body :is(.star-id,.sc-root,.sdo-site,.sdot-root,.bsocial) :is(input:not([type=checkbox]),select,textarea){background:var(--pb-safe-field)!important;color:var(--pb-safe-ink)!important;-webkit-text-fill-color:var(--pb-safe-ink)!important;border-color:var(--pb-safe-border)!important;}
html body :is(.star-id,.sc-root,.sdo-site,.sdot-root,.bsocial) :is(input,textarea)::placeholder{color:var(--pb-safe-hint)!important;-webkit-text-fill-color:var(--pb-safe-hint)!important;opacity:1!important;}


/* PORKBELLY READABILITY V51 — functional text and its own painted surface.
   Solid text instead of inherited clipped gradients. No sizes, layout or endpoints changed.
   Scope: public-facing plugin roots; never wp-admin. 2026-11-03. */

/* Gig and Star Gig: correct real input groups, empty states and public directory. */
html body .pbgm-app{--pb-v51-gig-surface:#fffafd;--pb-v51-gig-text:#342536;--pb-v51-gig-muted:#625363;--pb-v51-gig-line:#e1cbd8;--pb-v51-gig-field:#fff;--pb-v51-gig-hint:#796674;}

html body .pbgm-app :is(.pbgm-panel,.pbgm-star-find,.pbgm-star-empty,.pbgm-star-card,.pbgm-list-card,.pbgm-fields,
 .pbgm-import-console,.pbgm-channel-panel,.pbgm-channel-chooser label,.pbgm-form-area,.pbgm-star-find-intro,
 .pbgm-discovery-card,.pbgm-star-search,.pbgm-corporate-welcome,.pbgm-corporate-metrics>div){
 background:var(--pb-v51-gig-surface)!important;color:var(--pb-v51-gig-text)!important;border-color:var(--pb-v51-gig-line)!important;
}
html body .pbgm-app :is(.pbgm-panel,.pbgm-star-find,.pbgm-star-empty,.pbgm-star-card,.pbgm-list-card,.pbgm-fields,
 .pbgm-import-console,.pbgm-channel-panel,.pbgm-channel-chooser label,.pbgm-form-area,.pbgm-star-find-intro,
 .pbgm-discovery-card,.pbgm-star-search,.pbgm-corporate-welcome,.pbgm-corporate-metrics>div)
 :is(h1,h2,h3,h4,label,legend,summary,b,strong,th){
 background-image:none!important;color:var(--pb-v51-gig-text)!important;-webkit-text-fill-color:var(--pb-v51-gig-text)!important;
}
html body .pbgm-app :is(.pbgm-panel,.pbgm-star-find,.pbgm-star-empty,.pbgm-star-card,.pbgm-list-card,.pbgm-fields,
 .pbgm-import-console,.pbgm-channel-panel,.pbgm-channel-chooser label,.pbgm-form-area,.pbgm-star-find-intro,
 .pbgm-discovery-card,.pbgm-star-search,.pbgm-corporate-welcome,.pbgm-corporate-metrics>div)
 :is(p,small,.pbgm-muted,.pbgm-description,.pbgm-intro-copy){color:var(--pb-v51-gig-muted)!important;-webkit-text-fill-color:var(--pb-v51-gig-muted)!important;}
html body .pbgm-app :is(input:not([type=checkbox]):not([type=radio]),select,textarea){
 background:var(--pb-v51-gig-field)!important;color:var(--pb-v51-gig-text)!important;
 -webkit-text-fill-color:var(--pb-v51-gig-text)!important;border-color:var(--pb-v51-gig-line)!important;
 color-scheme:only light!important;
}
html body .pbgm-app select option{background:var(--pb-v51-gig-field)!important;color:var(--pb-v51-gig-text)!important;}
html body .pbgm-app :is(input,textarea)::placeholder{color:var(--pb-v51-gig-hint)!important;-webkit-text-fill-color:var(--pb-v51-gig-hint)!important;opacity:1!important;}
html body .pbgm-app :is(.pbgm-button,.pbgm-btn-primary){-webkit-text-fill-color:currentColor!important;}
html body .pbgm-app .pbgm-hero :is(h1,h2,h3,p){color:#fff3fa!important;-webkit-text-fill-color:#fff3fa!important;}

/* A shared Gig/Staff/Star ID header: foreground and navigation are paired with the actual surface. */
html body.pb-unified .sma-page-layout .sma-suite-navigation,
html body .sma-page-layout .sma-suite-navigation{
 background:#fffafd!important;background-image:none!important;color:#332439!important;
 border-color:#dbc9d5!important;color-scheme:only light!important;
}
html body.pb-unified .sma-page-layout .sma-suite-brand>span:last-child,
html body .sma-page-layout .sma-suite-brand>span:last-child{
 background:none!important;background-image:none!important;background-clip:border-box!important;
 -webkit-background-clip:border-box!important;color:#5a2146!important;-webkit-text-fill-color:#5a2146!important;
}
html body.pb-unified .sma-page-layout .sma-suite-brand small,
html body .sma-page-layout .sma-suite-brand small{color:#812c50!important;-webkit-text-fill-color:#812c50!important;}
html body.pb-unified .sma-page-layout .sma-suite-links a,
html body .sma-page-layout .sma-suite-links a{color:#514159!important;-webkit-text-fill-color:#514159!important;}
html body.pb-unified .sma-page-layout .sma-suite-links a.is-current,
html body .sma-page-layout .sma-suite-links a.is-current{
 background:#f9e5ef!important;color:#702444!important;-webkit-text-fill-color:#702444!important;
}
html body.pb-unified .sma-page-layout .sma-suite-account,
html body .sma-page-layout .sma-suite-account{background:#752f61!important;color:#fff!important;-webkit-text-fill-color:#fff!important;}


