/* Portal text must remain legible even when the WordPress theme supplies heading colors. */
html[data-pzc-theme="dark"] body :is(.pzc-app,.pzc-auth-screen,.pzc-public-booking) :is(h1,h2,h3,h4,h5,h6){color:#fff!important;-webkit-text-fill-color:#fff!important;background-image:none!important;opacity:1!important}
html[data-pzc-theme="dark"] body :is(.pzc-app,.pzc-auth-screen,.pzc-public-booking) :is(p,small,legend,dt,dd,label,.pzc-crm-contact-data,.pzc-crm-contact-date,.pzc-company-card__meta,.pzc-company-card__footer){color:#fff!important;opacity:1!important}
html[data-pzc-theme="dark"] .pzc-app :is(input:not([type=submit]):not([type=button]),select,textarea){color:#fff!important;background-color:#191919!important}
html[data-pzc-theme="dark"] .pzc-app ::placeholder{color:#d6d6d6!important;opacity:1}
html[data-pzc-theme="dark"] .pzc-app :is(.pzc-kicker,.pzc-pipeline-column>h3 span,.pzc-mini-empty,.pzc-company-card__email,.pzc-schedule-row>span){color:#fff!important;opacity:1}
/* Dark text is intentional on gold actions and light badges. */
html[data-pzc-theme="dark"] .pzc-app :is(.pzc-primary-action,.pzc-auth-button,.pzc-appearance-choice[aria-pressed=true]){color:#141109!important}
.pzc-crm-contact-list>article.pzc-crm-contact--client{border-left:4px solid #27834b!important}
.pzc-crm-contact-list>article.pzc-crm-contact--prospect{border-left:4px solid #be4141!important}
html[data-pzc-theme="light"] .pzc-crm-contact-list>article.pzc-crm-contact--client{background:#f4faf5!important}
html[data-pzc-theme="light"] .pzc-crm-contact-list>article.pzc-crm-contact--prospect{background:#fff7f6!important}
/* Four operational states; use solid edges and dots, never near-transparent indicators. */
:is(.pzc-company-card--pending,.pzc-company-detail-status--pending,.pzc-client-status--pending){--pzc-state:#c43a3a;--pzc-state-text:#9b2626}
:is(.pzc-company-card--invited,.pzc-company-detail-status--invited,.pzc-client-status--invited){--pzc-state:#d47720;--pzc-state-text:#944600}
:is(.pzc-company-card--setup,.pzc-company-detail-status--setup,.pzc-client-status--setup){--pzc-state:#b78b00;--pzc-state-text:#705500}
:is(.pzc-company-card--active,.pzc-company-detail-status--active,.pzc-client-status--active){--pzc-state:#248247;--pzc-state-text:#1c713b}
:is(.pzc-company-card--inactive,.pzc-company-detail-status--inactive,.pzc-client-status--inactive){--pzc-state:#777}
.pzc-company-card::before{background:var(--pzc-state,#777)!important;height:3px!important}
.pzc-company-card__status i,.pzc-company-detail-status i,.pzc-client-status i{background:var(--pzc-state,#777)!important;box-shadow:none!important}
html[data-pzc-theme="light"] :is(.pzc-company-card__status,.pzc-company-detail-status,.pzc-client-status){color:var(--pzc-state-text,#444)!important}
html[data-pzc-theme="dark"] :is(.pzc-company-card--setup,.pzc-company-detail-status--setup,.pzc-client-status--setup){--pzc-state:#e8c94d}
html[data-pzc-theme="dark"] :is(.pzc-company-card--active,.pzc-company-detail-status--active,.pzc-client-status--active){--pzc-state:#59c980}
html[data-pzc-theme="dark"] .pzc-company-card__status{color:#fff!important}
.pzc-status-chip:is(.pzc-company-state--draft,.pzc-company-state--payment,.pzc-company-state--pending){background:#fce4e4!important;color:#8c2020!important;border-color:#c43a3a!important}
.pzc-status-chip:is(.pzc-company-state--invited,.pzc-company-state--onboarding){background:#fff0df!important;color:#854008!important;border-color:#d47720!important}
.pzc-status-chip.pzc-company-state--setup{background:#fff4bc!important;color:#665000!important;border-color:#b78b00!important}
.pzc-status-chip.pzc-company-state--active{background:#def2e4!important;color:#165d30!important;border-color:#248247!important}
.pzc-date-readable{display:block;margin:6px 0;color:#555;font-size:13px}
.pzc-ig-asset-thumb{grid-column:1/-1;max-width:150px;width:100%;height:125px;object-fit:contain;background:#171919;border-radius:8px}
.pzc-ig-planned-grid{padding:0;border:0;background:transparent}
.pzc-ig-grid{gap:3px}
.pzc-ig-grid>a.pzc-ig-profile-tile{position:relative;display:block;padding:0;border-radius:0;aspect-ratio:3/4}
.pzc-ig-profile-tile>.pzc-ig-thumb{width:100%;height:100%;border-radius:0}
.pzc-ig-grid>a>.pzc-ig-type-icon{position:absolute;top:8px;right:8px;padding:0;color:#fff;filter:drop-shadow(0 1px 3px #000);font-size:22px;line-height:1;width:22px;height:22px}

.pzc-ig-asset.is-removed{border-style:dashed}.pzc-ig-asset.is-removed .pzc-ig-asset-thumb{opacity:.35}.pzc-ig-new-files>div{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:10px 0}

/* Cari · 05/10/2026: publication status fills, shared by light and dark. */
.pzc-app .pzc-ops-state.pzc-ops-state--published,
html[data-pzc-theme] .pzc-app .pzc-ops-state.pzc-ops-state--published {
  background: #def2e4 !important;
  color: #165d30 !important;
  border-color: #248247 !important;
}
.pzc-app .pzc-ops-state.pzc-ops-state--scheduled,
html[data-pzc-theme] .pzc-app .pzc-ops-state.pzc-ops-state--scheduled {
  background: #fff4bc !important;
  color: #665000 !important;
  border-color: #b78b00 !important;
}

/* Publication format is separate from lifecycle status. */
.pzc-content-format{display:inline-block;padding:6px 9px;border-radius:8px;border:1px solid currentColor;font-size:12px;line-height:1.4;font-weight:600;max-width:100%;overflow-wrap:anywhere}
.pzc-app .pzc-content-format{background:var(--pzc-format-bg,#e8edf0)!important;color:var(--pzc-format-fg,#334b5d)!important;border-color:var(--pzc-format-edge,#708492)!important}
.pzc-story-notice-options{padding:16px;margin-block:12px;border:1px solid currentColor;border-radius:10px}

/* Manual review: outline until explicit save-and-notify confirmation. */
.pzc-app .pzc-ops-state.pzc-ops-state--manual,
html[data-pzc-theme] .pzc-app .pzc-ops-state.pzc-ops-state--manual {
  background: transparent !important;
  color: #173e75 !important;
  border: 2px solid #3978c6 !important;
}
html[data-pzc-theme="dark"] .pzc-app .pzc-ops-state.pzc-ops-state--manual {
  color: #93c5fd !important;
  border-color: #60a5fa !important;
}
.pzc-app .pzc-ops-state.pzc-ops-state--manual-reviewed,
html[data-pzc-theme] .pzc-app .pzc-ops-state.pzc-ops-state--manual-reviewed {
  background: #e8f1ff !important;
  color: #173e75 !important;
  border-color: #3978c6 !important;
}
html[data-pzc-theme="dark"] .pzc-app .pzc-ops-state.pzc-ops-state--manual-reviewed {
  background: #18314f !important;
  color: #dbeafe !important;
  border-color: #60a5fa !important;
}
