/* Dark-mode fix (2026-08-26): the base theme paints fieldset cards hardcoded white while the token layer flips text light under dark mode - the Identification documents section read light-on-white. Re-base the card on the dpcs tokens so Day/Night/Auto all read. Canonical fleet fix: erpal_crm_ui 1.4.9. */
.fieldset { background-color: var(--erpal-surface, #fff); color: var(--erpal-text, #1f2733); border-color: var(--erpal-border, #e6e9ee); }
.fieldset .fieldset__legend, .fieldset .fieldset__label { color: var(--erpal-text, #1f2733); }
.fieldset .fieldset__description, .fieldset .form-item__description { color: var(--erpal-muted, #5f6b7a); }
/* Pricing table + live total (2026-08-26 go-live). Token-based on both background AND text. */
.dpcs-mailbox-prices { width: 100%; border-collapse: collapse; margin: 16px 0; }
.dpcs-mailbox-prices th, .dpcs-mailbox-prices td { border: 1px solid var(--erpal-border, #e6e9ee); padding: 8px 10px; text-align: left; color: var(--erpal-text, #1f2733); }
/* --erpal-thead-bg is defined in the light root AND both dark scopes, so the header strip flips with the text. (--erpal-surface-2 is NOT: it is dark-only, and using it here shipped light-on-light invisible ink in dark mode - caught by the render pass 2026-08-26.) */
.dpcs-mailbox-prices thead th { background-color: var(--erpal-thead-bg, #eef1f6); }
.dpcs-priority { font-weight: 700; color: var(--erpal-text, #1f2733); }
.dpcs-total { border: 2px solid #f96905; border-radius: 8px; padding: 14px 16px; margin: 18px 0; background-color: var(--erpal-surface, #fff); color: var(--erpal-text, #1f2733); }
.dpcs-total-label { display: block; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--erpal-muted, #5f6b7a); }
.dpcs-total-amount { display: block; font-size: 2rem; font-weight: 700; line-height: 1.15; color: var(--erpal-text, #1f2733); }
.dpcs-total-note { display: block; font-size: 0.95rem; color: var(--erpal-muted, #5f6b7a); }
.dpcs-charge-summary { font-size: 1.05rem; font-weight: 600; color: var(--erpal-text, #1f2733); }