/*
 * WEB runtime skin for shared Emersion UI primitives (em-modal, …).
 *
 * Baseline ships with the framework (/vendor/emersion/framework/v1/ui/*.css)
 * inside @layer em-ui — rules here are unlayered, so they always win over the
 * baseline regardless of load order. Prefer overriding the --em-modal-*
 * custom properties; full rule overrides are the escalation path.
 *
 * Keep this file scoped to em-* components only. Site styles and utilities
 * belong to style.css.
 */

.em-modal {
    --em-modal-btn-bg: var(--c-orange);   /* site brand action color */
    --em-modal-btn-fg: #ffffff;

    /* style.css paints every .window beige (.window{background:#f1ebe5;…});
       re-assert the themable surface for modals so the vars stay in charge */
    background: var(--em-modal-bg);
    border-color: var(--em-modal-border);
}
