/* Éniary Collection 6.17.78 | Optional Noir appearance.
 * Every dark rule is gated by the page-local root attribute and gallery scope.
 * No image filters, opacity, crop changes, hidden/disabled overrides or geometry
 * changes to existing controls. Mobile gold canvas remains owned by .75 helper.
 */
html[data-egc-theme="light"] { color-scheme: light; }
html[data-egc-theme="dark"] { color-scheme: dark; background-color: #080808; }
/* The switch lives beside the collection title, not in the photo/action row. */
body.eniary-gallery-restyle .egc-collection-title:has(.egc-theme-controls) { flex-basis: 360px; }
body.eniary-gallery-restyle .egc-title-line { display:flex;flex-wrap:wrap;align-items:center;gap:12px 18px; }
body.eniary-gallery-restyle .egc-theme-controls { display:inline-flex;align-items:center;gap:3px;flex:0 0 auto;box-sizing:border-box;max-width:100%;padding:4px;border:1px solid #d9cfb7;border-radius:999px;background:#eee8dc; }
body.eniary-gallery-restyle .egc-theme-controls .egc-theme-choice { box-sizing:border-box;appearance:none;-webkit-appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:0 0 auto;width:auto!important;min-width:64px;min-height:36px!important;margin:0!important;padding:8px 10px!important;border:1px solid transparent!important;border-radius:999px!important;background:transparent!important;color:#645a45!important;font:650 11px/1.4 var(--egc-sans)!important;letter-spacing:0!important;text-transform:none!important;white-space:nowrap!important;box-shadow:none!important;text-shadow:none!important;cursor:pointer; }
body.eniary-gallery-restyle .egc-theme-controls .egc-theme-choice::before,body.eniary-gallery-restyle .egc-theme-controls .egc-theme-choice::after { content:none!important;display:none!important; }
body.eniary-gallery-restyle .egc-theme-controls .egc-theme-choice svg { display:block;width:15px;height:15px;flex:0 0 15px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;pointer-events:none; }
body.eniary-gallery-restyle .egc-theme-controls .egc-theme-choice[aria-pressed="true"] { background:#ffc400!important;color:#080808!important;box-shadow:0 2px 8px #5641001a!important; }
body.eniary-gallery-restyle .egc-theme-controls .egc-theme-choice:hover:not([aria-pressed="true"]) { background:#e1d7c2!important;color:#292313!important; }
body.eniary-gallery-restyle .egc-theme-controls .egc-theme-choice:focus-visible { outline:2px solid #947000!important;outline-offset:2px; }
body.eniary-gallery-restyle .egc-theme-standalone { display:flex;justify-content:flex-end;margin:0 0 18px; }
@media (max-width:540px) {
 body.eniary-gallery-restyle .egc-title-line { gap:10px;justify-content:space-between; }
 body.eniary-gallery-restyle .egc-title-line .egc-collection-label { flex:1 1 112px;min-width:0;font-size:18px; }
 body.eniary-gallery-restyle .egc-theme-controls { padding:3px;gap:0; }
 body.eniary-gallery-restyle .egc-theme-controls .egc-theme-choice { min-width:61px;min-height:44px!important;padding:9px 8px!important;font-size:10px!important;gap:5px; }
 body.eniary-gallery-restyle .egc-theme-controls .egc-theme-choice svg { width:14px;height:14px;flex-basis:14px; }
}


/* Near-black canvas, warm ivory type and a deliberately limited gold accent. */

html[data-egc-theme="dark"] body.eniary-gallery-restyle { --egc-cream:#080808;--egc-ink:#f7f4ec;--egc-muted:#b4aea2;--egc-line:#373329;--egc-white:#fffaf0;--egc-surface:#151513;--egc-raised:#211f19;--egc-input:#10100f;--eac-cream:#080808;--eac-ink:#f7f4ec;--eac-muted:#b4aea2;--eac-line:#373329;color:var(--egc-ink); }

html[data-egc-theme="dark"] body.eniary-gallery-restyle #page-container,
html[data-egc-theme="dark"] body.eniary-gallery-restyle .main-container,
html[data-egc-theme="dark"] body.eniary-gallery-restyle .site-content,
html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-gallery-gateway { background-color:var(--egc-cream)!important;color:var(--egc-ink); }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .egc-hero { background:radial-gradient(ellipse at 50% 0,rgba(255,196,0,.055),transparent 66%),#0b0b0a!important;border-color:#3a3019; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .egc-collection-label { color:var(--egc-ink)!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-intro strong { color:#eadbb4!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .egc-theme-controls { background:#171611;border-color:#514326; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .egc-theme-controls .egc-theme-choice { color:#c7bca3!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .egc-theme-controls .egc-theme-choice[aria-pressed="true"] { background:#ffc400!important;color:#080808!important;box-shadow:0 2px 14px #ffc40016!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .egc-theme-controls .egc-theme-choice:hover:not([aria-pressed="true"]) { background:#2d271a!important;color:#ffedbe!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .egc-theme-controls .egc-theme-choice:focus-visible,
html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-client-gallery :focus-visible,
html[data-egc-theme="dark"] body.eniary-gallery-restyle .egc-disclosure :focus-visible,
html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-modal :focus-visible,
html[data-egc-theme="dark"] body.eniary-gallery-restyle #eniary-comment-form :focus-visible,
html[data-egc-theme="dark"] body.eniary-gallery-restyle .eac-page :focus-visible,
html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-review-dialog :focus-visible,
html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-summary-card :focus-visible { outline-color:#ffc400!important; }


/* Photographs are never inverted or darkened. Only the surrounding mount changes. */

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-thumb { background:var(--egc-surface)!important;border-color:#373329;box-shadow:0 8px 24px #0003!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-thumb:hover { border-color:#7a6534;box-shadow:0 10px 28px #0005!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-thumb:has(.fa-heart.selected) { border-color:#ffc400;box-shadow:0 0 0 1px #ffc400,0 8px 30px #0004!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-thumb .egc-photo-stage { background:#10100f; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-thumb .eniary-icon-bar { background:var(--egc-surface)!important;border-bottom-color:#302c23!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-thumb .eniary-icon-bar .eniary-icon { color:#c6b88f!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-thumb .eniary-icon-bar .eniary-icon:hover:not(.disabled) { color:#ffe6a0!important;background:#2b2517!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-thumb .eniary-icon-bar .eniary-icon.selected,
html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-thumb .eniary-icon-bar .eniary-icon.commented { color:#ffc400!important;background:#352b12!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-thumb .eniary-icon-bar .eniary-icon.added-addon { color:#ace2bc!important;background:#193322!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-thumb .eniary-icon-bar .eniary-icon.disabled { color:#b4aea2!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-thumb .eniary-filename { color:#e4d8bf!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-thumb .eniary-image-counter { color:#a89d87!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle #eniary-open-download-modal,
html[data-egc-theme="dark"] body.eniary-gallery-restyle #eniary-open-download-edits-modal { background:#ffc400!important;border-color:#ffc400!important;color:#080808!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle #eniary-open-download-modal:hover,
html[data-egc-theme="dark"] body.eniary-gallery-restyle #eniary-open-download-edits-modal:hover { background:#ffd43d!important;border-color:#ffd43d!important;color:#080808!important; }


/* Guides and original history, including filters and semantic status badges. */

html[data-egc-theme="dark"] body.eniary-gallery-restyle .egc-disclosure > summary { color:#e3d4b0;background:#15140f;border-color:#51452c; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .egc-disclosure > summary:hover { background:#292318;border-color:#9b7d32; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .egc-disclosure[open] > summary { background:#262013;border-color:#715b2a; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .egc-disclosure-plus { color:#ffc400; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .egc-history-count { color:#ffc400;background:#3b3015; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .egc-disclosure .eniary-help-inner,
html[data-egc-theme="dark"] body.eniary-gallery-restyle .egc-gateway-guide-inner,
html[data-egc-theme="dark"] body.eniary-gallery-restyle .egc-history .eniary-submission-history { background:var(--egc-surface)!important;color:#d2c7b0!important;border-color:#715b2a!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-help-title { color:#fff2d4!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-help-steps li { color:#c4baa6!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-help-steps li::before { color:#ffc400; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-help-steps li b { color:#f7f0e0; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-help-dismiss { background:transparent!important;color:#e5d4ab!important;border-color:#746035!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .egc-history .eniary-submission-history__row { background:#1c1b16!important;color:#ded5c2!important;border-color:#413a29!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .egc-history .eniary-submission-history__row-title { color:#f7e9c8!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .egc-history .eniary-submission-history__date,
html[data-egc-theme="dark"] body.eniary-gallery-restyle .egc-history .eniary-submission-history__note,
html[data-egc-theme="dark"] body.eniary-gallery-restyle .egc-history .eniary-submission-history__vip-note { color:#b6aa8e!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .egc-history .eniary-submission-history__row-body { background:#11110f!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .egc-history .eniary-submission-history__label { color:#baae92!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .egc-history .eniary-submission-history__value { color:#eee3ca!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .egc-history .eniary-submission-history__filter { background:#262116!important;color:#ffe0a0!important;border-color:#6f5b2d!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .egc-history .eniary-submission-history__filter:hover,
html[data-egc-theme="dark"] body.eniary-gallery-restyle .egc-history .eniary-submission-history__filter.is-active { background:#ffc400!important;color:#080808!important;border-color:#ffc400!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .egc-history .eniary-submission-history__badge { background:#332a15!important;color:#ffe1a1!important;border-color:#69562c!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .egc-history .eniary-submission-history__badge.is-complete,
html[data-egc-theme="dark"] body.eniary-gallery-restyle .egc-history .eniary-submission-history__vip-active { background:#183121!important;color:#ace2bc!important;border-color:#3d7251!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .egc-history .eniary-vip-rush-upgrade-button { background:#183121!important;color:#ace2bc!important;border-color:#3d7251!important; }


/* View Edits account navigation and true server-driven step states. */

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eac-sidebar .woocommerce-MyAccount-navigation li a { background:#15140f!important;color:#c1b69e!important;border-color:#51452c!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eac-sidebar .woocommerce-MyAccount-navigation li a:hover { background:#242016!important;color:#ffe6b1!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eac-sidebar .woocommerce-MyAccount-navigation li.is-active a { background:#332a15!important;color:#ffc400!important;border-color:#6b5525!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eac-account-bottom { border-color:#373329!important;color:#b4aea2!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eac-account-bottom p,
html[data-egc-theme="dark"] body.eniary-gallery-restyle .eac-account-bottom span { color:#b4aea2!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eac-account-bottom a { color:#ffc400!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle #eniary-revision-stepper .eniary-icon { background:#141411!important;color:#b6aa8f!important;border-color:#645637!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle #eniary-revision-stepper .eniary-label,
html[data-egc-theme="dark"] body.eniary-gallery-restyle #eniary-revision-stepper .eniary-subtext { color:#ada38e!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle #eniary-revision-stepper .eniary-step::after { background:#4b4027!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle #eniary-revision-stepper .eniary-step.completed .eniary-icon { background:#322916!important;color:#ffc400!important;border-color:#8a6c27!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle #eniary-revision-stepper .eniary-step.current .eniary-icon { background:#ffc400!important;color:#080808!important;border-color:#ffc400!important;box-shadow:0 0 0 4px #ffc4001a!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle #eniary-revision-stepper .eniary-step.completed .eniary-label { color:#ddc798!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle #eniary-revision-stepper .eniary-step.current .eniary-label { color:#ffc400!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle #eniary-revision-stepper .eniary-step.current::after,
html[data-egc-theme="dark"] body.eniary-gallery-restyle #eniary-revision-stepper .eniary-step.completed::after { background:#9d7a27!important; }


/* Notes, references, downloads and the original confirmation/revision dialogs. */

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-modal .eniary-modal-content,
html[data-egc-theme="dark"] body.eniary-gallery-restyle #eniary-comment-form,
html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-review-dialog,
html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-summary-card,
html[data-egc-theme="dark"] body.eniary-gallery-restyle #eniary-message-modal > div { background:var(--egc-surface)!important;color:#ded5c2!important;border-color:#8a6d30!important;box-shadow:0 24px 90px #0009!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-modal .eniary-modal-content h2,
html[data-egc-theme="dark"] body.eniary-gallery-restyle #eniary-comment-form h2,
html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-review-header h2,
html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-summary-card h2 { color:#fff1d0!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-modal .eniary-modal-content p,
html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-review-header p,
html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-summary-intro,
html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-summary-countdown { color:#c5baa2!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-modal .eniary-modal-close,
html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-review-close { color:#e2cca0!important;background:transparent!important;border-color:#70603a!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-modal .eniary-modal-content #eniary-cancel-mode,
html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-modal .eniary-modal-content #eniary-close-thankyou { background:transparent!important;color:#ded0ac!important;border-color:#766039!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle #eniary-comment-form textarea { background:#0c0c0b!important;color:#f4ecdd!important;border-color:#7a6943!important;caret-color:#ffc400; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle #eniary-comment-form textarea::placeholder { color:#a89e8a!important;opacity:1; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle #eniary-comment-form button { background:#272115!important;color:#eee0be!important;border-color:#76613a!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle #eniary-comment-form #eniary-comment-save { background:#ffc400!important;color:#080808!important;border-color:#ffc400!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle #eniary-comment-form #eniary-comment-cancel,
html[data-egc-theme="dark"] body.eniary-gallery-restyle #eniary-comment-form #eniary-ref-upload-btn { background:transparent!important;color:#e2d0a6!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle #eniary-comment-form #eniary-ref-filename { color:#b8ad96!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-reference-status { background:#171612;color:#e5dbc6;border-color:#51472e;border-left-color:#ffc400; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-reference-status[data-kind="error"] { border-left-color:#f09a91; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-reference-status[data-kind="success"] { border-left-color:#9ddbb0; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-reference-row { border-color:#413a2d; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-reference-row small { color:#b8ae98; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-reference-row[data-state="Ready"] .eniary-reference-state { color:#9ddbb0; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-reference-row[data-state="Needs attention"] .eniary-reference-state { color:#f09a91; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-review-header,
html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-review-actions,
html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-summary-actions { background:var(--egc-surface)!important;border-color:#51442a!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-review-body { background:#10100e!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-review-selected-head,
html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-review-selected-head span,
html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-review-name { color:#c9bda2!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-review-note-tag { background:#423319!important;color:#ffe4a9!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-review-vip-upgrade,
html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-review-agreement,
html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-review-warning { background:#282114!important;color:#e5d1a7!important;border-color:#705a2b!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-review-vip-upgrade h3,
html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-review-vip-upgrade strong,
html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-review-vip-upgrade > strong,
html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-review-warning-icon { color:#ffc400!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-review-vip-upgrade p,
html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-review-agreement span,
html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-review-vip-option { color:#dcc9a3!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-review-vip-upgrade input,
html[data-egc-theme="dark"] body.eniary-gallery-restyle #eniary-review-agree { accent-color:#ffc400; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-review-back,
html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-summary-actions #eniary-cancel,
html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-summary-actions #eniary-vip-upgrade-cancel { background:#262116!important;color:#efe0bd!important;border-color:#736038!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-review-confirm,
html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-summary-actions #eniary-confirm,
html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-summary-actions #eniary-vip-upgrade-confirm { background:#ffc400!important;color:#080808!important;border-color:#ffc400!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-summary-line { background:#211f19;color:#e4d8bf; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-summary-line span,
html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-summary-total span { color:#c2b69a; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-summary-line strong,
html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-summary-total strong { color:#f5e7c5; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-summary-total { background:#322913;border-color:#82672a;color:#ffc400; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-summary-total strong,
html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-summary-countdown span { color:#ffc400; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-summary-vip-note,
html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-summary-line--vip { background:#183121;border-color:#386c4e;color:#ace2bc; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-summary-vip-note strong,
html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-summary-line--vip span,
html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-summary-line--vip strong { color:#ace2bc; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-summary-vip-note p { color:#c0d7c6; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle #eniary-message-text.error,
html[data-egc-theme="dark"] body.eniary-gallery-restyle #eniary-message-icon.error { color:#ffaaa0!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle #eniary-message-text.success { color:#e4dbc6!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle #eniary-message-icon.success { color:#9ddbb0!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-loading,
html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-loading-more { color:#c5b07c!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-client-issue-notice { background:#292215;color:#f2dfb6;border-color:#806b34; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-client-issue-notice__hide { color:#e5c981!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-client-issue-notice__item + .eniary-client-issue-notice__item { border-top-color:#645127; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-gallery-empty { color:#c4baa6!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .egc-history .eniary-submission-history__badge.is-error { background:#351b18!important;color:#ffb2a8!important;border-color:#8c4d42!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .egc-history .eniary-submission-history__filter[aria-pressed=true] { background:#ffc400!important;color:#080808!important;border-color:#ffc400!important; }


/* Gateway shell inherits the same saved gallery preference, not My Account generally. */

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-gallery-gateway { --eniary-paper:#151513;--eniary-soft:#080808;--eniary-ink:#f7f4ec;--eniary-muted:#b4aea2;--eniary-line:#413a29; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-gallery-gateway__card,
html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-gallery-gateway__session-bar { background:var(--egc-surface)!important;color:#ded5c2!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-gallery-gateway__session-summary h2,
html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-gallery-gateway__instructions-heading h2,
html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-gallery-gateway__steps h3 { color:#f4e5c5!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-gallery-gateway__kicker,
html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-gallery-gateway__form-options a { color:#dfbb64!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-gallery-gateway__steps p { color:#c4baa6!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-gallery-gateway__session-controls select { background:#10100e!important;color:#eee6d6!important;border-color:#70603e!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-gallery-gateway__session-controls button { background:#ffc400!important;color:#080808!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-gallery-gateway__secondary-button { background:#262116!important;color:#f1ddb2!important;border-color:#766039!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-gallery-gateway__alert { background:#2b2415!important;color:#ead8af!important;border-color:#806b34!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-gallery-gateway__alert--error { background:#351b18!important;color:#ffb2a8!important;border-color:#8c4d42!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-gallery-gateway__status-badge { background:#183121!important;color:#ace2bc!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-gallery-gateway__card h2,
html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-gallery-gateway__section-title,
html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-gallery-gateway__session-title,
html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-gallery-gateway__pricing h3 { color:#f4e5c5!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-gallery-gateway__card p,
html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-gallery-gateway__session-meta,
html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-gallery-gateway__session-card p,
html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-gallery-gateway__pricing p { color:#bdb099!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-gallery-gateway__pricing .eniary-gallery-gateway__price { color:#ffc400!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-gallery-gateway__login-form label,
html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-gallery-gateway__session-card h3 { color:#e0d1b0!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-gallery-gateway__login-form input[type=text],
html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-gallery-gateway__login-form input[type=email],
html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-gallery-gateway__login-form input[type=password] { background:#10100e!important;color:#eee6d6!important;border-color:#70603e!important; }

html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-gallery-gateway__login-form input::placeholder { color:#a89e8a; }


/* Gold safe-area canvas is intentionally NOT switched. The opaque page is dark;
 * .75 still owns html/body on mobile, viewport-fit and theme-color reconciliation.
 * Lightbox remains cinematic in either mode. Green/red decisions are untouched. */

/* 6.17.106: one paired palette for both gallery guides, including their
   nested strong/p copy and pricing after the original DOM move. */
html[data-egc-theme="dark"] body.eniary-gallery-restyle .egc-guide,
html[data-egc-theme="dark"] body.eniary-gallery-restyle .eniary-gallery-gateway__quick-card {
 --egc-guide-panel:#151513;
 --egc-guide-card:#1e1d19;
 --egc-guide-heading:#fff4df;
 --egc-guide-text:#d1c7b5;
 --egc-guide-muted:#bfb49e;
 --egc-guide-border:#494031;
 --egc-guide-accent:#ffc400;
 --egc-guide-number-bg:#352b15;
 --egc-guide-note-bg:#2b2518;
 --egc-guide-note-border:#776038;
 --egc-guide-summary:#2b2518;
}

/* 6.17.107: pair the guest form colors with its surface. The brand panel stays dark. */
html[data-egc-theme="dark"] body.eniary-gallery-restyle #primary.eniary-gallery-gateway--login {
 --egc-login-panel:#1e1d19;
 --egc-login-heading:#fff4df;
 --egc-login-copy:#d1c7b5;
 --egc-login-line:#494031;
 --egc-login-link:#e8cb81;
 --egc-login-field:#10100e;
 --egc-login-field-ink:#eee6d6;
 --egc-login-field-line:#8c7b55;
}
