/*
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(.pbcore-app){color-scheme:only light;}

/* 2.8.47 · Dark-mode contrast contract — scoped ONLY to Porkbelly frontend.
 * Light mode remains the approved original; explicit dark colours prevent browser
 * automatic darkening from turning gradients into invisible lettering. */
 .pbcore-app{color-scheme:only light;} 

@media (forced-colors: active){
 .pbcore-app :is(a,button,input,select,textarea){forced-color-adjust:auto!important;}
 .pbcore-app .pbcore-brandword{background:none!important;-webkit-text-fill-color:currentColor!important;color:CanvasText!important;}
}
@media (prefers-contrast: more){.pbcore-app :is(.pbcore-sector,.pbcore-studio-card,.pbcore-list-card){border-width:2px!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;
 }
}

/* Core marketplace · colour belongs to its SURFACE (not inherited from the whole page). */

 body.pb-unified .pbcore-app :is(.pbcore-quick-panel,.pbcore-quick-heading,.pbcore-quick-group){color:var(--pb-ui-text)!important;}
 body.pb-unified .pbcore-app :is(.pbcore-agency-intro,.pbcore-agency-match-panel,.pbcore-agency-filter-v2,.pbcore-agency-card) p{color:var(--pb-ui-muted)!important;}



/* Every catalogue hero keeps the same readable surface and headline in dark mode. */

/* Studio form width/overflow is a real layout problem independent of light/dark mode. */
body.pb-unified .pbcore-app .pbcore-form-page,body.pb-unified .pbcore-app .pbcore-form-page form,
body.pb-unified .pbcore-app .pbcore-form-page .pbcore-form-grid,
body.pb-unified .pbcore-app .pbcore-studio-intake-form,
body.pb-unified .pbcore-app .pbcore-form-page .pbcore-location-grid,
body.pb-unified .pbcore-app .pbcore-form-page .pbcore-field{min-width:0;max-width:100%;box-sizing:border-box;}
body.pb-unified .pbcore-app .pbcore-form-page form,body.pb-unified .pbcore-app .pbcore-form-page .pbcore-form-grid{width:100%;}
body.pb-unified .pbcore-app .pbcore-form-page :is(input:not([type=checkbox]),textarea,select){display:block;width:100%;max-width:100%;min-width:0;box-sizing:border-box;}
body.pb-unified .pbcore-app .pbcore-form-page .pbcore-field span{overflow-wrap:anywhere;white-space:normal;}
body.pb-unified .pbcore-app .pbcore-form-page .pbcore-form-grid,
body.pb-unified .pbcore-app .pbcore-form-page .pbcore-location-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
@media(max-width:740px){body.pb-unified .pbcore-app .pbcore-form-page .pbcore-form-grid,body.pb-unified .pbcore-app .pbcore-form-page .pbcore-location-grid{grid-template-columns:minmax(0,1fr)!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;
  }
}


/* Core: empty states, memberships, public directory and account panels. */

 html body.pb-unified .pbcore-app :is(.pbcore-empty,.pbcore-landing-plan:not(:last-child),.pbcore-gate,
 .pbcore-studio-own,.pbcore-studio-filter,.pbcore-studio-refine,.pbcore-inbox-heading,
 .pbcore-landing-tile,.pbcore-landing-memberships,.pbcore-revenue-workspace-bridge,
 .pbcore-overview-note,.pbcore-quick-heading,.pbcore-member-card){
   background-color:var(--pb-surface)!important;color:var(--pb-on-surface)!important;border-color:var(--pb-stroke)!important;
 }
 html body.pb-unified .pbcore-app :is(.pbcore-empty,.pbcore-landing-plan:not(:last-child),.pbcore-gate,
 .pbcore-studio-own,.pbcore-studio-filter,.pbcore-studio-refine,.pbcore-inbox-heading,.pbcore-landing-tile,
 .pbcore-revenue-workspace-bridge,.pbcore-overview-note,.pbcore-member-card) :is(h2,h3,h4,p,small,label,legend,summary){
   color:var(--pb-on-surface)!important;-webkit-text-fill-color:var(--pb-on-surface)!important;
 }
 html body.pb-unified .pbcore-app :is(.pbcore-empty,.pbcore-landing-plan:not(:last-child),.pbcore-gate,
 .pbcore-studio-own,.pbcore-studio-filter,.pbcore-studio-refine,.pbcore-inbox-heading,.pbcore-landing-tile,
 .pbcore-revenue-workspace-bridge,.pbcore-overview-note,.pbcore-member-card) :is(p,small,.pbcore-subnote){
   color:var(--pb-on-surface-muted)!important;-webkit-text-fill-color:var(--pb-on-surface-muted)!important;
 }
 html body.pb-unified .pbcore-app .pbcore-quick-heading h2{color:#672545!important;-webkit-text-fill-color:#672545!important;background:none!important;}


/* Heading text inside an empty state is never a decorative transparent gradient. */
html body.pb-unified .pbcore-app .pbcore-empty :is(h2,h3,p){background:none!important;background-image:none!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. */

/* Colour-paired reusable marketplace surfaces, including omissions from v50. */
html body.pb-unified .pbcore-app{
 --pb-v51-surface:#fffafd;--pb-v51-ink:#342337;--pb-v51-muted:#615064;
 --pb-v51-accent:#8a2c55;--pb-v51-line:#e2cbd9;--pb-v51-input:#fff;
 --pb-v51-hint:#796574;--pb-v51-shell:#fffafd;
}

/* Unboxed editorial areas must never inherit pale text on their light-painted canvas. */
html body.pb-unified .pbcore-app :is(.pbcore-belly-content,.pbcore-external-gigs,.pbcore-studio-category-block){
 background:var(--pb-v51-shell)!important;color:var(--pb-v51-ink)!important;
}
html body.pb-unified .pbcore-app :is(.pbcore-belly-content,.pbcore-external-head,.pbcore-studio-category-block,.pbcore-external-gigs)
 :is(h2,h3,h4,p,small,strong){
 background-image:none!important;-webkit-background-clip:border-box!important;
 color:var(--pb-v51-ink)!important;-webkit-text-fill-color:var(--pb-v51-ink)!important;
}
html body.pb-unified .pbcore-app :is(.pbcore-belly-content,.pbcore-external-head,.pbcore-external-gigs,.pbcore-studio-category-block)
 :is(.pbcore-eyebrow,.pbcore-kicker){color:var(--pb-v51-accent)!important;-webkit-text-fill-color:var(--pb-v51-accent)!important;}
/* Every real-world object owns background + ink: never inherit clipped text from a hero. */
html body.pb-unified .pbcore-app :is(
 .pbcore-email-check,.pbcore-onboarding,.pbcore-belly-path,.pbcore-belly-tile,
 .pbcore-intent-card,.pbcore-studio-card,.pbcore-member-card,.pbcore-work-item,
 .pbcore-agency-card,.pbcore-agency-intro,.pbcore-agency-match-panel,.pbcore-search,
 .pbcore-empty,.pbcore-result-empty,.pbcore-auth-card,.pbcore-account-settings,
 .pbcore-belly-steps,.pbcore-belly-step,.pbcore-list-card,.pbcore-profile-card,
 .pbcore-landing-plan,.pbcore-studio-result-head,.pbcore-studio-own,.pbcore-studio-draft,
 .pbcore-studio-intake-form,.pbcore-form-page,.pbcore-studio-filter,.pbcore-studio-refine){
 background:var(--pb-v51-surface)!important;color:var(--pb-v51-ink)!important;
 border-color:var(--pb-v51-line)!important;
}
html body.pb-unified .pbcore-app :is(
 .pbcore-email-check,.pbcore-onboarding,.pbcore-belly-path,.pbcore-belly-tile,
 .pbcore-intent-card,.pbcore-studio-card,.pbcore-member-card,.pbcore-work-item,
 .pbcore-agency-card,.pbcore-agency-intro,.pbcore-agency-match-panel,.pbcore-search,
 .pbcore-empty,.pbcore-result-empty,.pbcore-auth-card,.pbcore-account-settings,
 .pbcore-belly-steps,.pbcore-belly-step,.pbcore-list-card,.pbcore-profile-card,
 .pbcore-landing-plan,.pbcore-studio-result-head,.pbcore-studio-own,.pbcore-studio-draft,
 .pbcore-studio-intake-form,.pbcore-form-page,.pbcore-studio-filter,.pbcore-studio-refine)
 :is(h1,h2,h3,h4,h5,h6,b,strong,label,legend,summary){
 background-image:none!important;-webkit-background-clip:border-box!important;
 color:var(--pb-v51-ink)!important;-webkit-text-fill-color:var(--pb-v51-ink)!important;
}
html body.pb-unified .pbcore-app :is(
 .pbcore-email-check,.pbcore-onboarding,.pbcore-belly-path,.pbcore-belly-tile,
 .pbcore-intent-card,.pbcore-studio-card,.pbcore-member-card,.pbcore-work-item,
 .pbcore-agency-card,.pbcore-agency-intro,.pbcore-agency-match-panel,.pbcore-search,
 .pbcore-empty,.pbcore-result-empty,.pbcore-auth-card,.pbcore-account-settings,
 .pbcore-belly-steps,.pbcore-belly-step,.pbcore-list-card,.pbcore-profile-card,
 .pbcore-landing-plan,.pbcore-studio-result-head,.pbcore-studio-own,.pbcore-studio-draft,
 .pbcore-studio-intake-form,.pbcore-form-page,.pbcore-studio-filter,.pbcore-studio-refine)
 :is(p,small,time,.pbcore-desc,.pbcore-subnote,.pbcore-belly-description,.pbcore-muted){
 background-image:none!important;color:var(--pb-v51-muted)!important;
 -webkit-text-fill-color:var(--pb-v51-muted)!important;
}
/* The welcome account content is unboxed and can have a light surface even in dark mode. */
html body.pb-unified .pbcore-app .pbcore-account-wrap{color:var(--pb-v51-ink)!important;background:var(--pb-v51-shell)!important;}
html body.pb-unified .pbcore-app .pbcore-account-wrap> :is(h2,h3,p,small,strong){color:var(--pb-v51-ink)!important;-webkit-text-fill-color:var(--pb-v51-ink)!important;}
html body.pb-unified .pbcore-app .pbcore-onboarding .pbcore-onboarding-steps li{
 background:var(--pb-v51-input)!important;color:var(--pb-v51-ink)!important;border-color:var(--pb-v51-line)!important;
 -webkit-text-fill-color:var(--pb-v51-ink)!important;
}
html body.pb-unified .pbcore-app .pbcore-onboarding .pbcore-onboarding-steps li.done{
 background:#e5f7eb!important;color:#215c39!important;-webkit-text-fill-color:#215c39!important;
}
html body.pb-unified .pbcore-app .pbcore-onboarding-count{color:#fff!important;-webkit-text-fill-color:#fff!important;}
html body.pb-unified .pbcore-app :is(.pbcore-email-check,.pbcore-onboarding) .pbcore-eyebrow{
 color:var(--pb-v51-accent)!important;-webkit-text-fill-color:var(--pb-v51-accent)!important;
}
html body.pb-unified .pbcore-app :is(input:not([type=checkbox]):not([type=radio]),select,textarea){
 color-scheme:only light!important;background:var(--pb-v51-input)!important;
 color:var(--pb-v51-ink)!important;-webkit-text-fill-color:var(--pb-v51-ink)!important;
 border-color:var(--pb-v51-line)!important;
}
html body.pb-unified .pbcore-app select option{background:var(--pb-v51-input)!important;color:var(--pb-v51-ink)!important;}
html body.pb-unified .pbcore-app :is(input,textarea)::placeholder{
 color:var(--pb-v51-hint)!important;-webkit-text-fill-color:var(--pb-v51-hint)!important;opacity:1!important;
}
/* Dark studio intent cards are a deliberate exception; keep text white on dark. */
html body.pb-unified .pbcore-app :is(.pbcore-for-provider,.pbcore-for-client){background:#2a2130!important;color:#fff4fb!important;}
html body.pb-unified .pbcore-app :is(.pbcore-for-provider,.pbcore-for-client) :is(h2,h3,h4,p,small,strong,span){
 background-image:none!important;color:#f7e9f7!important;-webkit-text-fill-color:#f7e9f7!important;
}
/* Hero colours follow their actual painted variant; never flatten the approved gradients. */

 html body.pb-unified .pbcore-app:is(.pbcore-view-models,.pbcore-view-workspace,.pbcore-view-agencies) .pbcore-catalog-banner :is(h1,h2,h3,p,.pbcore-eyebrow-light){
  background-image:none!important;color:#32243a!important;-webkit-text-fill-color:#32243a!important;
 }
 html body.pb-unified .pbcore-app:is(.pbcore-view-talent,.pbcore-view-services,.pbcore-view-opportunities,.pbcore-view-casting,.pbcore-view-studio,.pbcore-view-studio-search) .pbcore-catalog-banner :is(h1,h2,h3,p,.pbcore-eyebrow-light){
  background-image:none!important;color:#fff6fb!important;-webkit-text-fill-color:#fff6fb!important;
 }


/* Check-in's intentionally light sheet must never inherit the dark-site gradient title. */
html body.pb-unified .pbcore-app .pbcore-checkin-dialog{
 background-color:#fffbfe!important;color:#3a263c!important;color-scheme:only light!important;
}
html body.pb-unified .pbcore-app .pbcore-checkin-heading :is(h2,span){
 background-image:none!important;color:#512442!important;-webkit-text-fill-color:#512442!important;
}
/* Primary actions retain white ink even inside neutral cards. */
html body.pb-unified .pbcore-app :is(.pbcore-button-main,.pbcore-onboarding-count,.pbcore-button-primary){
 color:#fff!important;-webkit-text-fill-color:#fff!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;}



/* Readability v51 account and agency discovery areas: these are not standard cards. */
html body.pb-unified .pbcore-app :is(.pbcore-work-welcome,.pbcore-agency-result-heading,.pbcore-work-summary>div,.pbcore-hustle-panel>article){
 background:var(--pb-v51-surface)!important;color:var(--pb-v51-ink)!important;
 border-color:var(--pb-v51-line)!important;
}
html body.pb-unified .pbcore-app :is(.pbcore-work-welcome,.pbcore-agency-result-heading,.pbcore-work-summary>div,.pbcore-hustle-panel>article)
 :is(h2,h3,h4,b,strong){
 background-image:none!important;color:var(--pb-v51-ink)!important;-webkit-text-fill-color:var(--pb-v51-ink)!important;
}
html body.pb-unified .pbcore-app :is(.pbcore-work-welcome,.pbcore-agency-result-heading,.pbcore-work-summary>div,.pbcore-hustle-panel>article)
 :is(p,small,span:not(.pbcore-eyebrow)){
 color:var(--pb-v51-muted)!important;-webkit-text-fill-color:var(--pb-v51-muted)!important;
}
html body.pb-unified .pbcore-app :is(.pbcore-work-welcome,.pbcore-agency-result-heading,.pbcore-hustle-panel>article) .pbcore-eyebrow{
 color:var(--pb-v51-accent)!important;-webkit-text-fill-color:var(--pb-v51-accent)!important;
}
