/* Éniary Collection 6.17.103. Late, client-only visual layer.
   Display/hidden/disabled states remain owned by the original gallery engine. */
body.eniary-gallery-restyle {
 --egc-gold:#ffc400; --egc-black:#080808; --egc-ink:#171717; --egc-muted:#766f62;
 --egc-cream:#f7f4ec; --egc-line:#e4ded1; --egc-white:#fffdf8;
 --egc-serif:"Playfair Display",Georgia,"Times New Roman",serif;
 --egc-sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,Helvetica,sans-serif;
 background:var(--egc-cream)!important; color:var(--egc-ink); font-family:var(--egc-sans); -webkit-font-smoothing:antialiased;
}
body.eniary-gallery-restyle .egc-hero *,body.eniary-gallery-restyle .egc-chrome *,body.eniary-gallery-restyle .eniary-client-gallery *,body.eniary-gallery-restyle .egc-disclosure *,body.eniary-gallery-restyle #eniary-lightbox *,body.eniary-gallery-restyle .eniary-modal * {box-sizing:border-box}
body.eniary-gallery-restyle #eniary-gallery-chrome-payload[hidden],body.eniary-gallery-restyle [hidden],body.eniary-gallery-restyle input[type=hidden] {display:none!important}
body.eniary-gallery-restyle .egc-hero :focus-visible,body.eniary-gallery-restyle .egc-chrome :focus-visible,body.eniary-gallery-restyle #eniary-lightbox :focus-visible {outline:2px solid var(--egc-gold)!important;outline-offset:5px}
body.eniary-gallery-restyle .eniary-client-gallery :focus-visible,body.eniary-gallery-restyle .egc-disclosure :focus-visible,body.eniary-gallery-restyle .eniary-modal :focus-visible {outline:2px solid #997400!important;outline-offset:4px}
/* Recognized theme chrome only. The replacement is mounted before hiding originals. */
body.eniary-gallery-restyle.egc-brand-ready .egc-native-chrome,body.eniary-gallery-restyle.egc-brand-ready > .site-mobile-menu {display:none!important}
body.eniary-gallery-restyle .egc-topline {background:var(--egc-gold);color:var(--egc-black);text-align:center;padding:8px 14px;font:650 10px/1.4 var(--egc-sans);letter-spacing:.07em;text-transform:uppercase}
body.eniary-gallery-restyle .egc-header {background:#080808;border-bottom:1px solid #27241b;padding:18px 0;margin:0}
body.eniary-gallery-restyle .egc-header-inner {display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:24px;width:calc(100% - 64px);max-width:1440px;margin:auto}
body.eniary-gallery-restyle .egc-header a {color:var(--egc-gold)!important;text-decoration:none;font:650 11px/1.4 var(--egc-sans);letter-spacing:.075em;text-transform:uppercase;min-height:44px;display:flex;align-items:center;gap:7px}
body.eniary-gallery-restyle .egc-brand {justify-content:center;justify-self:center}
body.eniary-gallery-restyle .egc-monogram {display:block;width:38px;height:auto;max-height:58px;object-fit:contain}
body.eniary-gallery-restyle .egc-wordmark {width:110px;height:auto}
body.eniary-gallery-restyle .egc-contact-link {justify-self:end}
body.eniary-gallery-restyle .egc-header a:hover {color:#fff!important}
body.eniary-gallery-restyle .egc-top-edge {display:none}
/* Canvas + account integration. Navigation order and anchors remain native. */
body.eniary-gallery-restyle .main-container,body.eniary-gallery-restyle .site-content {background:var(--egc-cream)!important}
body.eniary-gallery-restyle.egc-mounted:not(.egc-mode-edits) .main-container {padding-top:0!important;padding-bottom:90px!important}
body.eniary-gallery-restyle.egc-mounted:not(.egc-mode-edits) .main-container > .page-title {display:none!important}
body.eniary-gallery-restyle .egc-layout-ancestor {width:100%!important;max-width:1440px!important;float:none!important;margin:0 auto!important;padding:0 24px!important;background:transparent!important}
body.eniary-gallery-restyle .egc-layout-ancestor .egc-layout-ancestor {padding:0!important}
body.eniary-gallery-restyle.egc-mode-edits .eac-page {max-width:1440px!important;width:calc(100% - 64px)!important}
body.eniary-gallery-restyle.egc-mode-edits.egc-mounted .eac-page-heading {display:none!important}
body.eniary-gallery-restyle.egc-mode-edits .eac-account-grid {grid-template-columns:minmax(0,1fr)!important;gap:24px!important}
body.eniary-gallery-restyle.egc-mode-edits .eac-sidebar {position:static!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
body.eniary-gallery-restyle.egc-mode-edits .eac-sidebar .eac-client-identity,body.eniary-gallery-restyle.egc-mode-edits .eac-sidebar .eac-menu-label,body.eniary-gallery-restyle.egc-mode-edits .eac-sidebar .eac-sidebar-help {display:none!important}
body.eniary-gallery-restyle.egc-mode-edits .eac-sidebar .woocommerce-MyAccount-navigation {display:block!important;width:100%!important}
body.eniary-gallery-restyle.egc-mode-edits .eac-sidebar .woocommerce-MyAccount-navigation ul {display:flex!important;flex-wrap:nowrap!important;gap:5px!important;overflow-x:auto!important;padding:4px 0 9px!important;margin:0!important;scrollbar-width:thin}
body.eniary-gallery-restyle.egc-mode-edits .eac-sidebar .woocommerce-MyAccount-navigation li {flex:0 0 auto!important;width:auto!important;margin:0!important}
body.eniary-gallery-restyle.egc-mode-edits .eac-sidebar .woocommerce-MyAccount-navigation a {white-space:nowrap!important;min-height:42px!important;border-radius:8px!important;padding:11px 13px!important;font-size:12px!important}
body.eniary-gallery-restyle.egc-mode-edits .eac-content {min-width:0;width:100%!important;padding:0!important}
body.eniary-gallery-restyle.egc-mode-edits .eac-account-bottom {margin-bottom:80px}
body.eniary-gallery-restyle.egc-mode-edits .egc-legacy-edits-header,body.eniary-gallery-restyle.egc-mode-edits .egc-legacy-edits-date {display:none!important}
/* The entrance: a typographic portrait, not another instructional dashboard. */
body.eniary-gallery-restyle .egc-hero {position:relative;isolation:isolate;overflow:hidden;background:#0b0b0a!important;color:var(--egc-white);text-align:center;margin:0 0 28px!important;padding:51px 30px 35px!important;border:1px solid #302919;border-top:0;border-radius:0 0 5px 5px;box-shadow:none}
body.eniary-gallery-restyle .egc-hero::before {content:"";position:absolute;z-index:-1;width:630px;height:630px;border:1px solid rgba(255,196,0,.1);border-radius:50%;top:-380px;left:calc(50% - 315px);box-shadow:0 0 0 54px rgba(255,196,0,.016),0 0 0 108px rgba(255,196,0,.011);pointer-events:none}
body.eniary-gallery-restyle .egc-hero::after {content:"";display:block;position:absolute;bottom:0;left:calc(50% - 27px);width:54px;height:2px;background:var(--egc-gold)}
body.eniary-gallery-restyle .egc-eyebrow,body.eniary-gallery-restyle .egc-hero .eniary-gallery-gateway__eyebrow {margin:0 0 20px!important;color:var(--egc-gold)!important;font:650 10px/1.5 var(--egc-sans)!important;letter-spacing:.25em!important;text-transform:uppercase}
body.eniary-gallery-restyle .egc-hero h1 {color:var(--egc-white)!important;font-family:var(--egc-serif)!important;font-weight:700!important;font-size:clamp(44px,5.8vw,84px)!important;line-height:1.08!important;letter-spacing:-.05em!important;margin:0!important;text-transform:none!important;overflow-wrap:break-word;text-wrap:balance}
body.eniary-gallery-restyle .egc-hero h1 em {color:var(--egc-gold);font-weight:inherit;font-family:inherit;font-style:italic}
body.eniary-gallery-restyle .egc-hero-note,body.eniary-gallery-restyle .egc-hero .eniary-gallery-gateway__lead {font:400 13px/1.7 var(--egc-sans)!important;letter-spacing:.04em;color:#c6c0b4!important;margin:17px 0 0!important;max-width:none!important}
body.eniary-gallery-restyle .egc-hero-meta {display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 22px;margin:25px 0 0;color:#a9a294;font:400 11px/1.6 var(--egc-sans)}
body.eniary-gallery-restyle .egc-client-name {color:#f6efdc;font-weight:650;letter-spacing:.03em}
body.eniary-gallery-restyle .egc-hero-meta > :not(:first-child)::before {content:"·";margin-right:18px;color:#826f3c}
body.eniary-gallery-restyle .egc-hero-meta .egc-edits-location {margin:0;font:inherit;color:inherit}
/* Gateway keeps its own sign-in/session selection, now part of the collection. */
body.eniary-gallery-restyle .eniary-gallery-gateway {background:var(--egc-cream)!important;color:var(--egc-ink)!important;padding-bottom:70px;font-family:var(--egc-sans)}
body.eniary-gallery-restyle .eniary-gallery-gateway__shell {width:calc(100% - 64px)!important;max-width:1440px!important;margin:0 auto!important;padding:0!important}
body.eniary-gallery-restyle .eniary-gallery-gateway__hero {border-radius:0;border-left:0;border-right:0;margin-bottom:0!important;padding-bottom:25px!important}
/* The collection owns this underline. Do not inherit the old gateway orb. */
body.eniary-gallery-restyle .eniary-gallery-gateway__hero::after {right:auto;border:0;border-radius:0;box-shadow:none}
body.eniary-gallery-restyle .eniary-gallery-gateway__account-line {margin-top:24px!important;font:400 10px/1.6 var(--egc-sans)!important;gap:10px 18px!important;color:#b5ae9e!important}
body.eniary-gallery-restyle .eniary-gallery-gateway__account-line a {color:#d9c799!important;text-decoration:underline;text-underline-offset:4px}
body.eniary-gallery-restyle .eniary-gallery-gateway__content {padding-top:24px!important}
/* Use the actual template class. The old __session-card selector never matched. */
body.eniary-gallery-restyle .eniary-gallery-gateway__session-bar {box-sizing:border-box;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.85fr);min-width:0;border:1px solid var(--egc-line)!important;border-radius:18px!important;background:var(--egc-white)!important;box-shadow:none!important;padding:20px 22px!important;margin:0 0 22px!important;gap:16px 24px!important;align-items:center!important}
body.eniary-gallery-restyle .eniary-gallery-gateway__session-summary {min-width:0;overflow-wrap:anywhere}
body.eniary-gallery-restyle .eniary-gallery-gateway__session-summary:only-child {grid-column:1 / -1}
body.eniary-gallery-restyle .eniary-gallery-gateway__kicker {font:700 9px/1.5 var(--egc-sans)!important;letter-spacing:.14em!important;color:#8a702f!important;margin:0 0 6px!important;text-transform:uppercase}
body.eniary-gallery-restyle .eniary-gallery-gateway__session-summary h2 {color:#171717!important;font:700 20px/1.3 var(--egc-serif)!important;letter-spacing:-.03em!important;margin:0 0 5px!important}
body.eniary-gallery-restyle .eniary-gallery-gateway__session-summary > p:not(.eniary-gallery-gateway__kicker) {font:400 12px/1.6 var(--egc-sans)!important;margin:0!important;color:var(--egc-muted)!important}
body.eniary-gallery-restyle .eniary-gallery-gateway__status-badge {margin-top:9px!important;background:#eee8d7!important;color:#695321!important;border:0!important;border-radius:5px!important;font-size:10px!important}
body.eniary-gallery-restyle .eniary-gallery-gateway__session-switcher {width:100%!important;max-width:430px;min-width:0!important;margin:0!important;justify-self:end}
body.eniary-gallery-restyle .eniary-gallery-gateway__session-switcher label {font:650 10px/1.5 var(--egc-sans)!important;margin-bottom:6px;color:var(--egc-muted)!important}
body.eniary-gallery-restyle .eniary-gallery-gateway__session-controls {display:flex!important;gap:7px!important}
body.eniary-gallery-restyle .eniary-gallery-gateway__session-controls select {min-width:0;width:100%;height:44px;border:1px solid #dbd3c2!important;border-radius:9px!important;background:#fffdf8!important;color:#27231b!important;font:400 16px/1.5 var(--egc-sans)!important;padding:8px 30px 8px 12px!important}
body.eniary-gallery-restyle .eniary-gallery-gateway__session-controls button {width:auto!important;min-width:60px;min-height:44px;padding:10px 16px!important;background:#171717!important;color:#fff!important;border-radius:9px!important;font:650 12px/1.4 var(--egc-sans)!important;white-space:nowrap;flex:0 0 auto;transform:none!important}
/* 6.17.77: the legacy gateway's <=620px -12px margins must not cancel
   the shell's 12px mobile gutters after the collection removes its inner pad.
   Reset only horizontal margins; retain vertical spacing, cards and controls. */
body.eniary-gallery-restyle .eniary-gallery-gateway__gallery {margin-left:0!important;margin-right:0!important;padding:0!important;background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important}
/* This wrapper is a canvas, not another card. Keep individual photo mats intact. */
body.eniary-gallery-restyle .eniary-gallery-gateway__login-grid {margin:20px 0 30px!important}
body.eniary-gallery-restyle .eniary-gallery-gateway__card {border-color:var(--egc-line)!important;border-radius:12px!important;box-shadow:0 12px 42px #30250a06!important}
body.eniary-gallery-restyle .eniary-gallery-gateway__card h2 {font-family:var(--egc-serif)!important}
body.eniary-gallery-restyle .eniary-gallery-gateway__login-form input {font-family:var(--egc-sans);font-size:16px}
/* Original controls, reorganized rather than cloned. */
body.eniary-gallery-restyle .eniary-client-gallery {padding:0!important;margin:0!important;background:none!important}
body.eniary-gallery-restyle .egc-collection-tools {display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:15px 24px;margin-bottom:24px}
body.eniary-gallery-restyle .egc-collection-title {min-width:0;flex:1 1 200px}
body.eniary-gallery-restyle .egc-collection-label {font:700 21px/1.3 var(--egc-serif);color:var(--egc-ink);letter-spacing:-.03em;display:block}
body.eniary-gallery-restyle .eniary-intro {margin:5px 0 0!important;color:var(--egc-muted)!important;font:400 12px/1.65 var(--egc-sans)!important;text-align:left!important;max-width:620px}
body.eniary-gallery-restyle .eniary-intro strong {font-weight:700;color:#362e20}
body.eniary-gallery-restyle .egc-utilities {display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:flex-start;gap:8px;max-width:100%;flex:0 1 auto}
body.eniary-gallery-restyle .egc-utilities:has(>details[open]) {flex-basis:100%;justify-content:flex-start}
body.eniary-gallery-restyle .eniary-legend-line1 {display:block;width:auto!important;white-space:normal!important;margin:0!important;padding:0!important;text-align:left!important;flex:0 0 auto}
body.eniary-gallery-restyle #eniary-open-download-modal,body.eniary-gallery-restyle #eniary-open-download-edits-modal {display:inline-flex;align-items:center;justify-content:center;gap:8px!important;width:auto!important;min-height:44px!important;padding:10px 15px!important;border:1px solid #24201b!important;border-radius:6px!important;background:#171717!important;color:#fff8e8!important;font:650 11px/1.5 var(--egc-sans)!important;letter-spacing:0!important;cursor:pointer!important;text-transform:none!important;white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;flex:0 0 auto;box-shadow:none!important}
body.eniary-gallery-restyle #eniary-open-download-modal:hover,body.eniary-gallery-restyle #eniary-open-download-edits-modal:hover {background:#302817!important;border-color:#635022!important}
body.eniary-gallery-restyle .eniary-legend-line1 i {font-size:12px!important}
/* On-demand disclosures. Nothing intercepts native details behavior. */
body.eniary-gallery-restyle .egc-disclosure {position:relative!important;inset:auto!important;display:block;padding:0!important;margin:0!important;width:auto;height:auto!important;max-width:100%;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;z-index:auto!important;color:var(--egc-ink);font-family:var(--egc-sans)}
body.eniary-gallery-restyle .egc-disclosure::before {display:none!important}
body.eniary-gallery-restyle .egc-disclosure > summary {list-style:none;display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px;padding:10px 14px;border:1px solid #dcd3c0;border-radius:6px;background:transparent;color:#514633;font:650 11px/1.5 var(--egc-sans);cursor:pointer;user-select:none}
body.eniary-gallery-restyle .egc-disclosure > summary::-webkit-details-marker {display:none}
body.eniary-gallery-restyle .egc-disclosure > summary:hover {background:#eee8da;border-color:#bca773}
body.eniary-gallery-restyle .egc-disclosure-plus {font-size:18px;line-height:1;font-weight:400;color:#9c7a20;transition:transform .2s ease}
body.eniary-gallery-restyle .egc-disclosure[open] > summary .egc-disclosure-plus {transform:rotate(45deg)}
body.eniary-gallery-restyle .egc-disclosure:not([open]) > :not(summary) {display:none!important}
body.eniary-gallery-restyle .egc-utilities > .egc-disclosure[open] {flex-basis:100%;order:3}
body.eniary-gallery-restyle .egc-disclosure[open] > summary {background:#eee7d7;border-radius:6px 6px 0 0;border-color:#d6c8a4}
body.eniary-gallery-restyle .egc-history-count {display:inline-flex;min-width:19px;height:19px;border-radius:50%;align-items:center;justify-content:center;background:#eae3d4;font-size:10px;color:#675630}
body.eniary-gallery-restyle .egc-disclosure .eniary-help-inner,body.eniary-gallery-restyle .egc-gateway-guide-inner {position:static!important;transform:none!important;inset:auto!important;max-width:none!important;max-height:none!important;width:100%!important;margin:0!important;padding:24px!important;border:1px solid #d6c8a4;border-top:0;border-radius:0 0 7px 7px;background:#fffcf5!important;box-shadow:none!important;color:#514a3c!important}
body.eniary-gallery-restyle .eniary-help-title {margin:0 0 16px!important;font:700 24px/1.25 var(--egc-serif)!important;color:#2b251c!important;letter-spacing:-.035em!important}
body.eniary-gallery-restyle .eniary-help-steps {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 32px;padding:0!important;margin:0!important;list-style:none!important;counter-reset:egc-help}
body.eniary-gallery-restyle .eniary-help-steps li {margin:0!important;padding:0 0 0 29px!important;position:relative;color:#6b6253!important;font:400 13px/1.75 var(--egc-sans)!important;counter-increment:egc-help}
body.eniary-gallery-restyle .eniary-help-steps li::before {content:counter(egc-help,decimal-leading-zero);position:absolute;left:0;top:0;font:600 10px/2.1 var(--egc-sans);color:#9c7a20}
body.eniary-gallery-restyle .eniary-help-steps li b {display:block;color:#322a1c;font-size:13px;font-weight:700}
body.eniary-gallery-restyle .eniary-help-dismiss {width:auto!important;min-height:40px!important;margin:22px 0 0!important;padding:9px 15px!important;border:1px solid #d6c8a4!important;border-radius:5px!important;background:transparent!important;color:#665433!important;font:650 11px/1.5 var(--egc-sans)!important;box-shadow:none!important}
body.eniary-gallery-restyle .eniary-gallery-gateway__pricing {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px;margin:24px 0 0!important;padding:20px 0 0!important;border-top:1px solid var(--egc-line)!important;background:transparent!important}
body.eniary-gallery-restyle .eniary-gallery-gateway__pricing > div {min-width:0;position:relative;overflow:visible;padding:0 0 0 16px!important;background:none!important;border:0!important;border-left:2px solid var(--egc-gold)!important}
/* Retire the legacy absolute gold stripe that painted over text after padding reset. */
body.eniary-gallery-restyle .eniary-gallery-gateway__pricing > div::after {content:none!important;display:none!important}
body.eniary-gallery-restyle .eniary-gallery-gateway__pricing h3 {font:650 13px/1.4 var(--egc-sans)!important;color:#302817!important;margin:5px 0!important}
body.eniary-gallery-restyle .eniary-gallery-gateway__pricing p {font:400 12px/1.7 var(--egc-sans)!important;color:#726855!important}
body.eniary-gallery-restyle .eniary-gallery-gateway__pricing .eniary-gallery-gateway__price {display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 7px;font:700 24px/1.3 var(--egc-serif)!important;color:#7b5f13!important;margin:0!important}
body.eniary-gallery-restyle .eniary-gallery-gateway__pricing .eniary-gallery-gateway__price span {font:650 10px/1.5 var(--egc-sans)!important;color:var(--egc-muted)!important;letter-spacing:.06em;text-transform:uppercase}
/* Photographs stay uncropped and in their original order. No hidden controls. */
body.eniary-gallery-restyle .eniary-grid {grid-template-columns:repeat(4,minmax(0,1fr));gap:25px 20px;align-items:start;min-width:0}
body.eniary-gallery-restyle .eniary-thumb {position:relative;display:flex;flex-direction:column;align-items:stretch;min-width:0;width:100%;padding:0!important;background:#fffdf8!important;border:1px solid #e2dccf;border-radius:4px!important;box-shadow:0 5px 18px #36280c05!important;transform:none!important;transition:border-color .18s ease,box-shadow .18s ease;overflow:visible}
body.eniary-gallery-restyle .eniary-thumb:hover {border-color:#b6a67d;box-shadow:0 9px 23px #36280c0d!important;transform:none!important}
body.eniary-gallery-restyle .eniary-thumb:has(.fa-heart.selected) {border-color:#bb9019;box-shadow:0 0 0 1px #bb9019!important}
body.eniary-gallery-restyle .eniary-thumb > img {display:block;width:100%!important;height:auto;aspect-ratio:2/3;object-fit:contain!important;background:#141413;border:0!important;border-radius:3px 3px 0 0!important;cursor:zoom-in;padding:0!important;margin:0!important;filter:none!important}
body.eniary-gallery-restyle .eniary-icon-bar {display:flex;align-items:center;justify-content:space-evenly;flex-wrap:nowrap;gap:0;width:100%;padding:5px 7px!important;margin:0!important;background:#11110f;border:0;border-radius:0}
body.eniary-gallery-restyle .eniary-icon-bar .eniary-icon {display:flex!important;align-items:center;justify-content:center;position:relative;flex:0 1 44px;width:44px!important;min-width:32px;height:42px!important;line-height:1!important;padding:0!important;margin:0!important;border:0!important;border-radius:4px!important;background:transparent!important;color:#c6b98e!important;font-size:17px!important;box-shadow:none!important;transform:none!important;cursor:pointer;transition:color .15s ease,background .15s ease}
body.eniary-gallery-restyle .eniary-icon-bar .eniary-icon:hover {background:#2c2719!important;color:#fff0ba!important;transform:none!important;box-shadow:none!important}
body.eniary-gallery-restyle .eniary-icon-bar .eniary-icon.selected {color:#ffc400!important;background:#302916!important}
body.eniary-gallery-restyle .eniary-icon-bar .eniary-icon.added-addon {color:#b9dfc4!important;background:#203226!important}
body.eniary-gallery-restyle .eniary-icon-bar .eniary-icon.commented {color:#ffc400!important;background:#302916!important}
body.eniary-gallery-restyle .eniary-icon-bar .eniary-icon.disabled {color:#777364!important;opacity:.48!important;cursor:default}
body.eniary-gallery-restyle .eniary-filename {font:650 11px/1.5 var(--egc-sans)!important;color:#554b37!important;letter-spacing:.035em!important;text-align:left!important;padding:10px 13px 0!important;margin:0!important;overflow-wrap:anywhere}
body.eniary-gallery-restyle .eniary-image-counter {font:400 10px/1.4 var(--egc-sans)!important;color:#9a907b!important;text-align:left!important;margin:0!important;padding:2px 13px 11px!important}
body.eniary-gallery-restyle .eniary-selection-badge,body.eniary-gallery-restyle .eniary-addon-badge {top:10px!important;bottom:auto!important;right:10px!important;left:auto!important;width:27px!important;height:27px!important;padding:0!important;display:flex;align-items:center;justify-content:center;border:1px solid #f0d67d!important;border-radius:50%!important;background:#ffc400!important;color:#19150c!important;font-size:11px!important;box-shadow:0 2px 12px #0004!important;z-index:2}
body.eniary-gallery-restyle .eniary-addon-badge {right:44px!important;background:#111d16!important;color:#c8e1c3!important;border-color:#718e6d!important}
body.eniary-gallery-restyle .eniary-loading,body.eniary-gallery-restyle .eniary-loading-more {color:#8a7546!important;font:400 13px/1.7 var(--egc-sans)!important;padding:30px 18px!important;margin:0!important;text-align:center}
/* Stable floating action docks; inline hide/disabled remains authoritative. */
body.eniary-gallery-restyle #eniary-toolbar {position:fixed;left:50%;right:auto;bottom:max(22px,env(safe-area-inset-bottom,0px));transform:translateX(-50%);display:flex;align-items:center;gap:5px;width:max-content;max-width:calc(100% - 28px);padding:7px!important;margin:0!important;border:1px solid #5a4c26;border-radius:12px!important;background:rgba(13,13,11,.97)!important;backdrop-filter:blur(16px);box-shadow:0 12px 40px #0004;z-index:9000;color:#f8efd7}
body.eniary-gallery-restyle #eniary-toolbar .eniary-toolbar-btn {width:auto!important;min-width:60px!important;min-height:44px!important;margin:0!important;padding:10px 16px!important;border:1px solid transparent!important;border-radius:7px!important;background:transparent!important;color:#d6cdb7!important;font:650 12px/1.3 var(--egc-sans)!important;letter-spacing:0!important;box-shadow:none!important;text-transform:none!important}
body.eniary-gallery-restyle #eniary-toolbar .eniary-toolbar-btn:hover,body.eniary-gallery-restyle #eniary-toolbar .eniary-toolbar-btn.active {background:#302a1b!important;color:#ffc400!important}
body.eniary-gallery-restyle #eniary-toolbar #selection-count {display:flex;flex-direction:column;justify-content:center;font:500 12px/1.4 var(--egc-sans)!important;color:#d9d0bb!important;margin:0 10px;padding-left:14px;border-left:1px solid #3c3422;white-space:nowrap;text-align:left;min-width:0}
body.eniary-gallery-restyle #eniary-toolbar #selected-total {margin-left:3px;font-variant-numeric:tabular-nums}
body.eniary-gallery-restyle #eniary-toolbar .eniary-selection-status {font-size:11px;line-height:1.4;color:#ffc400;white-space:nowrap}
body.eniary-gallery-restyle #eniary-toolbar [data-selection-state="ready"] .eniary-selection-status {color:#d9d0bb}
body.eniary-gallery-restyle #eniary-toolbar #submit-selection {background:var(--egc-gold)!important;color:#171208!important;min-width:76px!important;font-weight:750!important;flex-shrink:0}
body.eniary-gallery-restyle #eniary-toolbar #submit-selection::after {content:none!important;display:none!important}
body.eniary-gallery-restyle #eniary-toolbar button:disabled {opacity:.45!important;cursor:not-allowed!important}
body.eniary-gallery-restyle .eniary-edits-bar {position:fixed;left:50%;right:auto;bottom:max(22px,env(safe-area-inset-bottom,0px));transform:translateX(-50%);width:max-content;max-width:calc(100% - 28px);padding:7px!important;margin:0!important;gap:8px!important;border:1px solid #554c35;border-radius:12px!important;background:rgba(13,13,11,.97)!important;box-shadow:0 12px 40px #0004;backdrop-filter:blur(16px);z-index:9000}
body.eniary-gallery-restyle .eniary-edits-bar button {width:auto!important;min-height:48px!important;margin:0!important;padding:13px 27px!important;border:1px solid transparent!important;border-radius:7px!important;box-shadow:none!important;font:650 13px/1.4 var(--egc-sans)!important;letter-spacing:0!important;text-transform:none!important}
body.eniary-gallery-restyle .eniary-edits-bar .btn-revisions {background:#9d3e3c!important;border-color:#be6961!important;color:#fff!important}
body.eniary-gallery-restyle .eniary-edits-bar .btn-approve {background:#23694d!important;border-color:#4c9270!important;color:#fff!important}
body.eniary-gallery-restyle .eniary-edits-bar .btn-revisions:hover {background:#b54b46!important}
body.eniary-gallery-restyle .eniary-edits-bar .btn-approve:hover {background:#2a7c58!important}
body.eniary-gallery-restyle .eniary-edits-bar button:disabled {opacity:.45!important;cursor:not-allowed!important}
/* Cinematic lightbox: no dotted border, colored arrows or image obstruction. */
body.eniary-gallery-restyle.egc-preview-open {overflow:hidden}
body.eniary-gallery-restyle #eniary-lightbox {position:fixed;inset:0;width:100%;height:100%;height:100dvh;background:rgba(5,5,5,.985)!important;backdrop-filter:blur(20px);align-items:center;justify-content:center;padding:74px 72px 72px;z-index:10000!important;overscroll-behavior:contain}
body.eniary-gallery-restyle #eniary-lightbox-img {width:calc(100vw - 160px)!important;height:calc(100vh - 158px)!important;height:calc(100dvh - 158px)!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;border:0!important;border-radius:0!important;box-shadow:none!important;margin:0!important;padding:0!important;z-index:1;touch-action:auto}
body.eniary-gallery-restyle .egc-lightbox-heading {position:absolute;top:max(23px,env(safe-area-inset-top,0px));left:max(27px,env(safe-area-inset-left,0px));right:92px;display:flex;align-items:center;gap:22px;pointer-events:none;color:#948974;font:500 10px/1.4 var(--egc-sans);letter-spacing:.13em;text-transform:uppercase}
body.eniary-gallery-restyle #eniary-lightbox img.egc-lightbox-wordmark {width:102px!important;height:auto!important;max-width:none!important;max-height:none!important;object-fit:contain;border:0!important;border-radius:0!important;margin:0!important;opacity:.95}
body.eniary-gallery-restyle #eniary-lightbox .eniary-lightbox-close {position:absolute;top:max(13px,env(safe-area-inset-top,0px));right:max(19px,env(safe-area-inset-right,0px));width:44px!important;height:44px!important;min-height:44px!important;margin:0!important;padding:0!important;display:flex;align-items:center;justify-content:center;border:1px solid #52472c!important;border-radius:50%!important;background:#16140f!important;color:#eadfc3!important;box-shadow:none!important;text-shadow:none!important;font:300 29px/1 var(--egc-sans)!important;letter-spacing:0!important;z-index:4}
body.eniary-gallery-restyle #eniary-lightbox .eniary-lightbox-nav {position:absolute;top:50%;bottom:auto;transform:translateY(-50%);width:48px!important;min-width:48px!important;height:48px!important;min-height:48px!important;padding:0!important;margin:0!important;display:flex;align-items:center;justify-content:center;border:1px solid #4b422d!important;border-radius:50%!important;background:#19160f!important;color:#dcc99a!important;box-shadow:none!important;font:400 15px/1 var(--egc-sans)!important;z-index:4}
body.eniary-gallery-restyle #eniary-lightbox-prev {left:max(20px,env(safe-area-inset-left,0px))!important}
body.eniary-gallery-restyle #eniary-lightbox-next {right:max(20px,env(safe-area-inset-right,0px))!important}
body.eniary-gallery-restyle #eniary-lightbox .eniary-lightbox-nav:hover:not(:disabled),body.eniary-gallery-restyle #eniary-lightbox .eniary-lightbox-close:hover {border-color:#a48c51!important;background:#302819!important;color:#fff3c9!important}
body.eniary-gallery-restyle #eniary-lightbox .eniary-lightbox-nav:disabled,body.eniary-gallery-restyle #eniary-lightbox .eniary-lightbox-nav[aria-disabled=true] {opacity:.3!important;cursor:not-allowed!important}
body.eniary-gallery-restyle #eniary-lightbox-caption {position:absolute;left:50%;bottom:27px!important;transform:translateX(-50%);max-width:calc(100% - 180px);padding:0!important;margin:0;background:none!important;color:#e7d6af!important;border:0!important;border-radius:0!important;font:500 12px/1.6 var(--egc-sans)!important;letter-spacing:.065em;z-index:3;text-align:center}
body.eniary-gallery-restyle .egc-lightbox-hint {position:absolute;bottom:27px;right:27px;margin:0;color:#756d5d;font:400 10px/1.6 var(--egc-sans);pointer-events:none}
body.eniary-gallery-restyle .egc-lightbox-hint span {margin:0 7px}
body.eniary-gallery-restyle #eniary-lightbox-loading {color:#e5d09b!important;background:#17140ee6;border:1px solid #43371b;border-radius:999px;padding:10px 16px;font:500 12px/1.5 var(--egc-sans);z-index:2}
/* Keep the true status progression, with quiet gold connectors. */
body.eniary-gallery-restyle #eniary-revision-stepper {display:flex;align-items:flex-start;gap:8px;max-width:980px;width:100%;margin:0 auto 28px!important;padding:17px 0 23px;border-bottom:1px solid var(--egc-line)}
body.eniary-gallery-restyle #eniary-revision-stepper:empty {display:none}
body.eniary-gallery-restyle #eniary-revision-stepper .eniary-step {min-width:0;flex:1;padding:0 5px}
body.eniary-gallery-restyle #eniary-revision-stepper .eniary-icon {display:flex!important;align-items:center;justify-content:center;width:32px!important;height:32px!important;padding:0!important;margin:0 auto 8px;border:1px solid #cdc3ad!important;border-radius:50%;background:#f7f4ec!important;color:#9b8f72!important;font:500 11px/1 var(--egc-sans);box-shadow:none!important;transform:none!important;cursor:default}
body.eniary-gallery-restyle #eniary-revision-stepper i.eniary-icon {font-family:"Font Awesome 5 Free"!important;font-weight:900!important}
body.eniary-gallery-restyle #eniary-revision-stepper .eniary-label {max-width:135px;color:#92866d!important;font:500 10px/1.6 var(--egc-sans)!important;margin:0 auto;letter-spacing:.01em}
body.eniary-gallery-restyle #eniary-revision-stepper .eniary-subtext {max-width:135px;font:400 10px/1.5 var(--egc-sans)!important;color:#74694f!important}
body.eniary-gallery-restyle #eniary-revision-stepper .eniary-step::after {top:16px!important;left:calc(50% + 25px)!important;width:calc(100% - 42px)!important;height:1px!important;margin:0!important;transform:none!important;background:#d6ccb6!important;z-index:0}
body.eniary-gallery-restyle #eniary-revision-stepper .eniary-step.current .eniary-icon {background:#ffc400!important;color:#19150b!important;border-color:#bb9019!important;box-shadow:0 0 0 4px #eadfbe66!important}
body.eniary-gallery-restyle #eniary-revision-stepper .eniary-step.completed .eniary-icon {background:#272215!important;color:#e5cf95!important;border-color:#272215!important}
body.eniary-gallery-restyle #eniary-revision-stepper .eniary-step.current .eniary-label,body.eniary-gallery-restyle #eniary-revision-stepper .eniary-step.completed .eniary-label {color:#645026!important;font-weight:650!important}
body.eniary-gallery-restyle #eniary-revision-stepper .eniary-step.completed::after,body.eniary-gallery-restyle #eniary-revision-stepper .eniary-step.current::after {background:#b29855!important}
/* Disclosure history preserves all status, view-submission and VIP content. */
body.eniary-gallery-restyle .egc-history .eniary-submission-history {padding:20px!important;margin:0!important;background:#fffcf5!important;border:1px solid #d6c8a4!important;border-top:0!important;border-radius:0 0 7px 7px!important;box-shadow:none!important;color:#373022!important;width:100%!important;max-width:none!important}
body.eniary-gallery-restyle .egc-history .eniary-submission-history__title {display:none!important}
body.eniary-gallery-restyle .egc-history .eniary-submission-history__list {display:grid!important;gap:12px!important}
body.eniary-gallery-restyle .egc-history .eniary-submission-history__row {display:block!important;margin:0!important;padding:17px!important;border:1px solid #e7decb!important;border-radius:6px!important;background:#fff!important;box-shadow:none!important;color:#4a4030!important;min-width:0}
body.eniary-gallery-restyle .egc-history .eniary-submission-history__row-head {display:flex!important;flex-wrap:wrap!important;justify-content:space-between!important;gap:10px!important;margin:0 0 12px!important;padding:0!important;align-items:center!important}
body.eniary-gallery-restyle .egc-history .eniary-submission-history__row-title {font:650 13px/1.5 var(--egc-sans)!important;letter-spacing:0!important;color:#392f1c!important}
body.eniary-gallery-restyle .egc-history .eniary-submission-history__date {font:400 11px/1.6 var(--egc-sans)!important;color:#877859!important}
body.eniary-gallery-restyle .egc-history .eniary-submission-history__badge {font:650 10px/1.4 var(--egc-sans)!important;min-height:24px!important;max-width:100%;padding:4px 8px!important;border-radius:4px!important;white-space:normal!important;letter-spacing:0!important}
body.eniary-gallery-restyle .egc-history .eniary-submission-history__row-body {display:block!important;width:100%!important;min-height:0!important;padding:10px 12px!important;margin:0!important;background:#f7f4ec!important;border:0!important;border-radius:4px!important}
body.eniary-gallery-restyle .egc-history .eniary-submission-history__label {font:650 10px/1.6 var(--egc-sans)!important;color:#8b7d61!important;text-transform:uppercase;letter-spacing:.07em}
body.eniary-gallery-restyle .egc-history .eniary-submission-history__value {display:block!important;font:500 12px/1.7 var(--egc-sans)!important;color:#473b24!important;overflow-wrap:anywhere;margin:3px 0 0!important}
body.eniary-gallery-restyle .egc-history .eniary-submission-history__row-actions {display:flex!important;flex-wrap:wrap!important;flex-direction:row!important;justify-content:flex-start!important;align-items:center!important;gap:9px!important;padding:12px 0 0!important}
body.eniary-gallery-restyle .egc-history .eniary-submission-history__filter {order:0!important;width:auto!important;min-height:40px!important;padding:8px 12px!important;background:#fff!important;border:1px solid #c5b68e!important;border-radius:5px!important;color:#645127!important;font:650 11px/1.5 var(--egc-sans)!important;box-shadow:none!important;letter-spacing:0!important;gap:7px!important}
body.eniary-gallery-restyle .egc-history .eniary-submission-history__filter[aria-pressed=true] {background:#262013!important;color:#ffdd79!important;border-color:#262013!important}
body.eniary-gallery-restyle .egc-history .eniary-submission-history__vip {order:0!important;width:auto!important;margin:0!important;display:flex!important}
body.eniary-gallery-restyle .egc-history .eniary-submission-history__vip a.eniary-vip-rush-upgrade-button.button {width:auto!important;min-height:40px!important;font:600 11px/1.5 var(--egc-sans)!important;padding:8px 13px!important;background:#fff2ca!important;color:#6c5119!important;border:1px solid #e5ce8e!important;border-radius:5px!important;box-shadow:none!important;letter-spacing:0!important;gap:8px!important;white-space:normal!important}
body.eniary-gallery-restyle .egc-history .eniary-submission-history__vip-active {width:auto!important;font:650 11px/1.5 var(--egc-sans)!important;min-height:36px!important;padding:8px 12px!important;border-radius:5px!important}
body.eniary-gallery-restyle .egc-history svg {width:16px!important;height:16px!important}
body.eniary-gallery-restyle .egc-history .eniary-submission-history__note,body.eniary-gallery-restyle .egc-history .eniary-submission-history__vip-note {font:400 11px/1.6 var(--egc-sans)!important;color:#837455!important;margin:10px 0 0!important;padding:0!important}

/* Quiet, readable dialogs. Visibility and loading remain native-engine owned. */
body.eniary-gallery-restyle .eniary-modal {background:rgba(7,7,6,.86)!important;backdrop-filter:blur(9px);padding:24px!important}
body.eniary-gallery-restyle .eniary-modal .eniary-modal-content {position:relative;box-sizing:border-box;max-width:530px!important;width:100%!important;max-height:calc(100dvh - 48px);overflow-y:auto;padding:35px 30px 28px!important;background:#f9f6ee!important;color:#524837!important;border:1px solid #a48844!important;border-radius:12px!important;box-shadow:0 30px 90px #0005!important;font:400 14px/1.75 var(--egc-sans)!important}
body.eniary-gallery-restyle .eniary-modal .eniary-modal-content h2 {margin:0 26px 18px 0!important;color:#211c12!important;font:700 31px/1.15 var(--egc-serif)!important;letter-spacing:-.04em!important;text-transform:none!important}
body.eniary-gallery-restyle .eniary-modal .eniary-modal-content p {color:#73654e!important;font:400 13px/1.85 var(--egc-sans)!important;margin:0 0 20px!important}
body.eniary-gallery-restyle .eniary-modal .eniary-modal-content button:not(.eniary-modal-close),body.eniary-gallery-restyle .eniary-modal .eniary-modal-content a.button {box-sizing:border-box;min-height:44px;padding:12px 18px!important;width:auto!important;max-width:100%;border:1px solid #b39241!important;border-radius:6px!important;background:#ffc400!important;color:#221b0a!important;font:650 12px/1.45 var(--egc-sans)!important;letter-spacing:0!important;box-shadow:none!important;text-transform:none!important;white-space:normal!important;text-decoration:none!important}
body.eniary-gallery-restyle .eniary-modal .eniary-modal-content #eniary-cancel-mode,body.eniary-gallery-restyle .eniary-modal .eniary-modal-content #eniary-close-thankyou {background:transparent!important;color:#625439!important;border-color:#d0c3a5!important}
body.eniary-gallery-restyle .eniary-modal .eniary-modal-close {position:absolute!important;right:11px!important;top:11px!important;display:flex;align-items:center;justify-content:center;min-height:44px!important;height:44px!important;width:44px!important;padding:0!important;margin:0!important;background:transparent!important;color:#6b5931!important;border:0!important;border-radius:50%!important;box-shadow:none!important;font:400 27px/1 var(--egc-sans)!important}
body.eniary-gallery-restyle .eniary-modal button:disabled {opacity:.45!important;cursor:not-allowed!important}
body.eniary-gallery-restyle #eniary-comment-overlay {background:rgba(7,7,6,.87)!important;backdrop-filter:blur(9px)}
body.eniary-gallery-restyle #eniary-comment-form {box-sizing:border-box;width:calc(100% - 32px)!important;max-width:520px!important;max-height:calc(100dvh - 40px);overflow:auto;padding:30px!important;border:1px solid #b09248!important;border-radius:12px!important;background:#f9f6ee!important;color:#51452d!important;box-shadow:0 25px 85px #0005!important;font:400 13px/1.65 var(--egc-sans)!important}
body.eniary-gallery-restyle #eniary-comment-form h2 {font:700 29px/1.2 var(--egc-serif)!important;letter-spacing:-.045em!important;margin:0 0 21px!important;color:#292215!important}
body.eniary-gallery-restyle #eniary-comment-form textarea {box-sizing:border-box;width:100%!important;min-height:140px;padding:14px!important;border:1px solid #cfc2a4!important;border-radius:6px!important;background:#fffdf7!important;color:#312a1f!important;font:400 16px/1.6 var(--egc-sans)!important;resize:vertical;box-shadow:none!important}
body.eniary-gallery-restyle #eniary-comment-form button {box-sizing:border-box;min-height:44px;width:auto!important;padding:10px 17px!important;margin:0!important;border:1px solid #d0c3a5!important;border-radius:6px!important;background:#eee7d7!important;color:#6b572a!important;font:650 12px/1.5 var(--egc-sans)!important;letter-spacing:0!important;box-shadow:none!important;text-transform:none!important;white-space:normal!important}
body.eniary-gallery-restyle #eniary-comment-form #eniary-ref-upload-btn {display:inline-flex!important;margin:5px 0 11px!important;background:transparent!important;align-items:center;gap:8px}
body.eniary-gallery-restyle #eniary-comment-form #eniary-comment-save {background:#ffc400!important;color:#231b08!important;border-color:#b49131!important;min-width:96px!important;margin-right:8px!important}
body.eniary-gallery-restyle #eniary-comment-form #eniary-comment-cancel {background:transparent!important}
body.eniary-gallery-restyle #eniary-comment-form #eniary-ref-filename {color:#7b6d53!important;font:400 12px/1.65 var(--egc-sans)!important;overflow-wrap:anywhere}
body.eniary-gallery-restyle #eniary-comment-form button:disabled {opacity:.45!important;cursor:not-allowed!important}
body.eniary-gallery-restyle #eniary-comment-form :focus-visible {outline:2px solid #a07805!important;outline-offset:3px}
/* Existing dynamically-created extra-edit chooser: style the original nodes. */
body.eniary-gallery-restyle > div:has(> div > #eniary-addon-ok) {backdrop-filter:blur(9px)}
body.eniary-gallery-restyle > div > div:has(> #eniary-addon-ok) {box-sizing:border-box;max-width:480px!important;width:calc(100vw - 32px)!important;padding:30px!important;border:1px solid #a38949!important;border-radius:12px!important;background:#15140f!important;color:#ece4d0!important;box-shadow:0 25px 85px #0005;font-family:var(--egc-sans)!important}
body.eniary-gallery-restyle > div > div:has(> #eniary-addon-ok) h3 {margin:0 0 22px!important;color:#ffedc7!important;font:700 29px/1.2 var(--egc-serif)!important;letter-spacing:-.03em!important}
body.eniary-gallery-restyle > div > div:has(> #eniary-addon-ok) label {color:#d6c7a5!important;font:400 14px/1.7 var(--egc-sans)!important;min-height:40px}
body.eniary-gallery-restyle > div > div:has(> #eniary-addon-ok) input[type=radio] {accent-color:#ffc400;width:18px;height:18px;margin:0 9px 0 0;vertical-align:middle}
body.eniary-gallery-restyle #eniary-addon-ok,body.eniary-gallery-restyle #eniary-addon-cancel {box-sizing:border-box;min-height:44px!important;padding:10px 18px!important;border-radius:6px!important;box-shadow:none!important;font:650 12px/1.5 var(--egc-sans)!important;letter-spacing:0!important;width:auto!important}
body.eniary-gallery-restyle #eniary-addon-ok {background:#ffc400!important;color:#211a08!important;border:1px solid #ffc400!important;margin-right:8px!important}
body.eniary-gallery-restyle #eniary-addon-cancel {background:transparent!important;color:#dccda9!important;border:1px solid #71623e!important}
body.eniary-gallery-restyle .eniary-review-dialog,body.eniary-gallery-restyle .eniary-summary-card {border-color:#b0995a!important;border-radius:12px!important;box-shadow:0 30px 90px #0005!important;font-family:var(--egc-sans)!important}
body.eniary-gallery-restyle .eniary-review-dialog h2,body.eniary-gallery-restyle .eniary-summary-card h2 {font-family:var(--egc-serif)!important;letter-spacing:-.035em!important}
body.eniary-gallery-restyle .eniary-review-modal button,body.eniary-gallery-restyle .eniary-summary-modal button {font-family:var(--egc-sans)!important;letter-spacing:0!important;border-radius:6px!important}
body.eniary-gallery-restyle .eniary-review-modal button:disabled,body.eniary-gallery-restyle .eniary-summary-modal button:disabled {opacity:.45!important;cursor:not-allowed!important}
/* Keep native error/empty-state content visible, including editor messages. */
body.eniary-gallery-restyle .eniary-loading,body.eniary-gallery-restyle .eniary-loading-more {color:#85734d!important;font:500 13px/1.7 var(--egc-sans)!important;padding:28px 12px!important}
body.eniary-gallery-restyle .eniary-client-issue-notice {border-radius:8px!important;box-shadow:none!important}
/* Full crest footer. Preserve the existing links, copyright and lazy image. */
body.eniary-gallery-restyle #footer.egc-footer {box-sizing:border-box;display:block!important;position:relative!important;inset:auto!important;float:none!important;width:100%!important;max-width:none!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;padding:52px 24px max(95px,env(safe-area-inset-bottom,0px))!important;background:#070707!important;color:#c5bba1!important;text-align:center!important;transform:none!important;border:0!important;font-family:var(--egc-sans)}
body.eniary-gallery-restyle #footer.egc-footer > .container,body.eniary-gallery-restyle #footer.egc-footer .site-copyright > .container {display:block!important;position:static!important;width:100%!important;max-width:760px!important;height:auto!important;max-height:none!important;min-height:0!important;margin:0 auto!important;padding:0!important;background:transparent!important;transform:none!important}
body.eniary-gallery-restyle #footer.egc-footer .container > .row {display:flex!important;flex-wrap:wrap!important;justify-content:center!important;gap:0!important;margin:0!important;padding:0!important;width:100%!important;min-height:0!important;height:auto!important;transform:none!important}
body.eniary-gallery-restyle #footer.egc-footer .container > .row::before,body.eniary-gallery-restyle #footer.egc-footer .container > .row::after {display:none!important}
body.eniary-gallery-restyle #footer.egc-footer .container > .row > [class*=col-],body.eniary-gallery-restyle #footer.egc-footer .widget_media_image,body.eniary-gallery-restyle #footer.egc-footer .wp-block-image,body.eniary-gallery-restyle #footer.egc-footer .wp-block-image figure {display:block!important;position:static!important;float:none!important;flex:0 0 100%!important;width:100%!important;max-width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0 auto!important;padding:0!important;aspect-ratio:auto!important;transform:none!important;text-align:center!important}
body.eniary-gallery-restyle #footer.egc-footer img[src*="eniary-master-full-crest-logo"],body.eniary-gallery-restyle #footer.egc-footer img[data-src*="eniary-master-full-crest-logo"] {box-sizing:border-box;display:block!important;position:static!important;float:none!important;width:min(245px,64vw)!important;max-width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0 auto!important;padding:0!important;border:0!important;aspect-ratio:600/488!important;object-fit:contain!important;transform:none!important}
body.eniary-gallery-restyle #footer.egc-footer .site-copyright {width:100%!important;max-width:760px!important;position:static!important;display:block!important;margin:27px auto 0!important;padding:18px 0 0!important;border:0!important;border-top:1px solid #ffffff21!important;background:transparent!important;color:#aca392!important;font:400 11px/1.7 var(--egc-sans)!important;text-align:center!important}
/* Body-safe-area yellow rim mirrors the account design, never covers controls. */
@media (max-width:820px) and (pointer:coarse) {
 body.eniary-gallery-restyle.egc-brand-ready > .egc-top-edge {display:block;position:fixed;inset:0 0 auto;height:max(5px,env(safe-area-inset-top,0px));background:#ffc400;pointer-events:none;z-index:1001}
 body.eniary-gallery-restyle.admin-bar > .egc-top-edge {display:none}
}
@media (min-width:1600px) {body.eniary-gallery-restyle .eniary-grid {gap:28px 22px}}
@media (max-width:1100px) {
 body.eniary-gallery-restyle .eniary-grid {grid-template-columns:repeat(3,minmax(0,1fr));gap:23px 17px}
 body.eniary-gallery-restyle .egc-lightbox-hint {display:none}
 body.eniary-gallery-restyle .egc-hero {padding:40px 22px 31px!important}
 body.eniary-gallery-restyle .egc-utilities {flex-basis:100%;justify-content:flex-start}
}
@media (max-width:820px) {
 body.eniary-gallery-restyle .egc-header {padding:13px 0!important}
 body.eniary-gallery-restyle .egc-header-inner {width:calc(100% - 32px);min-height:47px;gap:14px}
 body.eniary-gallery-restyle .egc-monogram {width:32px!important;height:auto!important}
 body.eniary-gallery-restyle .egc-back-link,body.eniary-gallery-restyle .egc-contact-link {font-size:10px;letter-spacing:.025em}
 body.eniary-gallery-restyle .egc-topline {font-size:9px;padding:8px 12px;padding-top:calc(8px + env(safe-area-inset-top,0px));letter-spacing:.06em}
 body.eniary-gallery-restyle .egc-layout-ancestor {padding:0 16px!important}
 body.eniary-gallery-restyle .eniary-gallery-gateway__shell {width:calc(100% - 32px)!important}
 body.eniary-gallery-restyle.egc-mode-edits .eac-account {width:calc(100% - 32px)!important}
 body.eniary-gallery-restyle .egc-hero {padding:34px 17px 26px!important;margin-bottom:23px!important}
 body.eniary-gallery-restyle .egc-eyebrow,body.eniary-gallery-restyle .egc-hero .eniary-gallery-gateway__eyebrow {font-size:9px!important;letter-spacing:.2em!important;margin-bottom:16px!important}
 body.eniary-gallery-restyle .egc-hero h1 {font-size:56px!important;letter-spacing:-.055em!important}
 body.eniary-gallery-restyle .egc-hero-note,body.eniary-gallery-restyle .egc-hero .eniary-gallery-gateway__lead {font-size:12px!important;margin-top:12px!important;letter-spacing:0}
 body.eniary-gallery-restyle .egc-hero-meta {gap:6px 15px;margin-top:20px;font-size:10px}
 body.eniary-gallery-restyle .egc-hero-meta > :not(:first-child)::before {margin-right:12px}
 body.eniary-gallery-restyle .egc-collection-tools {gap:13px;margin-bottom:19px}
 body.eniary-gallery-restyle .egc-collection-label {font-size:23px}
 body.eniary-gallery-restyle .eniary-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px}
 body.eniary-gallery-restyle .eniary-gallery-gateway__session-bar {grid-template-columns:minmax(0,1fr)!important;gap:14px!important;padding:17px 18px!important}
 body.eniary-gallery-restyle .eniary-gallery-gateway__session-summary h2 {font-size:19px!important}
 body.eniary-gallery-restyle .eniary-gallery-gateway__session-switcher {max-width:none}
 body.eniary-gallery-restyle .eniary-gallery-gateway__session-controls {max-width:none!important;width:100%}
 body.eniary-gallery-restyle #eniary-revision-stepper {padding:0 0 23px!important;margin-bottom:23px!important;gap:8px!important;flex-wrap:wrap!important}
 body.eniary-gallery-restyle #eniary-revision-stepper .eniary-step {flex:1 1 calc(33.333% - 8px)!important;max-width:calc(33.333% - 5.4px)!important;margin:0!important}
 body.eniary-gallery-restyle #eniary-revision-stepper .eniary-step:nth-child(3)::after {display:none!important}
 body.eniary-gallery-restyle #eniary-revision-stepper .eniary-label {font-size:9px!important;max-width:118px!important;line-height:1.45!important}
 body.eniary-gallery-restyle #eniary-revision-stepper .eniary-subtext {font-size:9px!important;line-height:1.5!important;white-space:normal}
 body.eniary-gallery-restyle .eniary-help-steps {gap:17px 24px}
 body.eniary-gallery-restyle .egc-disclosure .eniary-help-inner {padding:20px!important}
 body.eniary-gallery-restyle #eniary-lightbox {padding:76px 16px 98px!important}
 body.eniary-gallery-restyle #eniary-lightbox-img {width:calc(100vw - 32px)!important;height:calc(100vh - 178px)!important;height:calc(100dvh - 178px)!important}
 body.eniary-gallery-restyle #eniary-lightbox .eniary-lightbox-nav {top:auto!important;bottom:max(19px,env(safe-area-inset-bottom,0px))!important;transform:none!important;width:46px!important;min-width:46px!important;height:46px!important;min-height:46px!important}
 body.eniary-gallery-restyle #eniary-lightbox-prev {left:20px!important}
 body.eniary-gallery-restyle #eniary-lightbox-next {right:20px!important}
 body.eniary-gallery-restyle #eniary-lightbox-caption {bottom:max(30px,calc(env(safe-area-inset-bottom,0px) + 11px))!important;font-size:10px!important;letter-spacing:0;max-width:calc(100% - 150px);overflow-wrap:anywhere;line-height:1.45!important}
 body.eniary-gallery-restyle .egc-lightbox-heading {top:max(27px,env(safe-area-inset-top,0px));left:20px;gap:15px}
 body.eniary-gallery-restyle .egc-lightbox-heading > span {font-size:8px;max-width:90px;letter-spacing:.08em}
 body.eniary-gallery-restyle #eniary-lightbox img.egc-lightbox-wordmark {width:87px!important}
 body.eniary-gallery-restyle #eniary-lightbox .eniary-lightbox-close {top:max(17px,env(safe-area-inset-top,0px));right:17px}
 body.eniary-gallery-restyle .eniary-edits-bar {bottom:max(14px,env(safe-area-inset-bottom,0px))!important}
 body.eniary-gallery-restyle #footer.egc-footer {padding-top:40px!important}
}
@media (max-width:540px) {
 body.eniary-gallery-restyle .egc-layout-ancestor {padding:0 12px!important}
 body.eniary-gallery-restyle .eniary-gallery-gateway__shell,body.eniary-gallery-restyle.egc-mode-edits .eac-account {width:calc(100% - 24px)!important}
 body.eniary-gallery-restyle .egc-hero h1 {font-size:45px!important}
 body.eniary-gallery-restyle .egc-hero-meta {gap:3px 10px}
 body.eniary-gallery-restyle .egc-client-name {flex-basis:100%;font-size:12px}
 body.eniary-gallery-restyle .egc-hero-meta > :nth-child(2)::before {display:none}
 body.eniary-gallery-restyle .egc-hero-meta > :not(:first-child)::before {margin-right:7px}
 body.eniary-gallery-restyle .egc-collection-label {font-size:22px}
 body.eniary-gallery-restyle .egc-utilities {gap:7px}
 body.eniary-gallery-restyle .egc-disclosure > summary {min-height:44px;padding:9px 11px;font-size:10px;gap:7px}
 body.eniary-gallery-restyle #eniary-open-download-modal,body.eniary-gallery-restyle #eniary-open-download-edits-modal {min-height:44px!important;padding:9px 12px!important;font-size:10px!important}
 body.eniary-gallery-restyle .egc-history-count {min-width:17px;height:17px;font-size:9px}
 body.eniary-gallery-restyle .egc-disclosure-plus {font-size:17px}
 body.eniary-gallery-restyle .eniary-grid {gap:16px 10px}
 body.eniary-gallery-restyle .eniary-icon-bar {padding:3px 3px!important}
 body.eniary-gallery-restyle .eniary-icon-bar .eniary-icon {min-width:30px;height:42px!important;font-size:15px!important}
 body.eniary-gallery-restyle .eniary-filename {font-size:10px!important;padding:8px 9px 0!important}
 body.eniary-gallery-restyle .eniary-image-counter {font-size:9px!important;padding:1px 9px 9px!important}
 body.eniary-gallery-restyle #eniary-toolbar {gap:0;max-width:calc(100% - 20px);width:calc(100% - 20px);bottom:max(11px,env(safe-area-inset-bottom,0px));padding:5px!important;border-radius:10px!important;justify-content:space-between}
 body.eniary-gallery-restyle #eniary-toolbar .eniary-toolbar-btn {min-width:36px!important;min-height:44px!important;padding:10px 11px!important;font-size:11px!important}
 body.eniary-gallery-restyle #eniary-toolbar #selection-count {font-size:11px!important;margin:0 5px;padding-left:8px;max-width:none;text-align:left}
 body.eniary-gallery-restyle #eniary-toolbar .eniary-selection-status {font-size:10px}
 body.eniary-gallery-restyle #eniary-toolbar #submit-selection {min-width:62px!important;font-size:11px!important;padding:10px 10px!important}
 body.eniary-gallery-restyle #eniary-toolbar #filter-selected,body.eniary-gallery-restyle #eniary-toolbar #filter-all {flex-shrink:0;padding:10px 8px!important}
 body.eniary-gallery-restyle .eniary-help-steps,body.eniary-gallery-restyle .eniary-gallery-gateway__pricing {grid-template-columns:minmax(0,1fr)!important;gap:18px}
 body.eniary-gallery-restyle .egc-history .eniary-submission-history {padding:13px!important}
 body.eniary-gallery-restyle .egc-history .eniary-submission-history__row {padding:13px!important}
 body.eniary-gallery-restyle .egc-history .eniary-submission-history__filter,body.eniary-gallery-restyle .egc-history .eniary-submission-history__vip a.eniary-vip-rush-upgrade-button.button {width:auto!important}
 body.eniary-gallery-restyle .eniary-edits-bar {gap:7px!important;max-width:calc(100% - 20px)!important;width:calc(100% - 20px)!important;padding:6px!important}
 body.eniary-gallery-restyle .eniary-edits-bar button {flex:1;min-width:0!important;min-height:46px!important;padding:11px 15px!important;font-size:12px!important;white-space:normal!important}
 body.eniary-gallery-restyle .eniary-modal {padding:16px!important}
 body.eniary-gallery-restyle .eniary-modal .eniary-modal-content {padding:31px 22px 25px!important;max-height:calc(100dvh - 32px)}
 body.eniary-gallery-restyle #eniary-comment-form {padding:24px 20px!important}
 body.eniary-gallery-restyle .eniary-modal .eniary-modal-content h2,body.eniary-gallery-restyle #eniary-comment-form h2 {font-size:27px!important}
 body.eniary-gallery-restyle .egc-disclosure .eniary-help-inner {padding:20px 17px!important}
 body.eniary-gallery-restyle.egc-mode-edits .eac-sidebar nav.woocommerce-MyAccount-navigation {padding:0!important}
}
@media (max-width:360px) {
 body.eniary-gallery-restyle .egc-hero h1 {font-size:39px!important}
 body.eniary-gallery-restyle .egc-disclosure > summary {padding:9px 9px;gap:6px}
 body.eniary-gallery-restyle .egc-utilities {gap:6px}
 body.eniary-gallery-restyle #eniary-toolbar .eniary-toolbar-btn {padding:10px 8px!important}
 body.eniary-gallery-restyle #eniary-toolbar #selection-count {margin:0 4px;padding-left:6px;font-size:10px!important}
 body.eniary-gallery-restyle #eniary-toolbar .eniary-selection-status {font-size:9px}
 body.eniary-gallery-restyle #eniary-toolbar #filter-selected,body.eniary-gallery-restyle #eniary-toolbar #filter-all {padding:10px 6px!important}
 body.eniary-gallery-restyle #eniary-toolbar #submit-selection {min-width:56px!important;padding:10px 8px!important}
 body.eniary-gallery-restyle .eniary-icon-bar {padding-left:0!important;padding-right:0!important}
 body.eniary-gallery-restyle .egc-lightbox-heading > span {display:none}
}
@media (max-height:500px) and (orientation:landscape) {
 body.eniary-gallery-restyle #eniary-lightbox {padding:52px 75px 45px!important}
 body.eniary-gallery-restyle #eniary-lightbox-img {width:calc(100vw - 150px)!important;height:calc(100dvh - 100px)!important}
 body.eniary-gallery-restyle .egc-lightbox-heading {top:17px}
 body.eniary-gallery-restyle #eniary-lightbox .eniary-lightbox-close {top:6px}
 body.eniary-gallery-restyle #eniary-lightbox .eniary-lightbox-nav {top:50%!important;bottom:auto!important;transform:translateY(-50%)!important}
 body.eniary-gallery-restyle #eniary-lightbox-caption {bottom:12px!important}
}
@media (prefers-reduced-motion:reduce) {
 body.eniary-gallery-restyle .eniary-thumb,body.eniary-gallery-restyle .eniary-icon-bar .eniary-icon,body.eniary-gallery-restyle .egc-disclosure-plus {transition:none!important}
}

@supports (mask-image: url("")) or (-webkit-mask-image: url("")) {
body.eniary-gallery-restyle .eniary-icon-bar .eniary-icon.fa-heart::before {content:""!important;display:block;width:18px;height:18px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20.5%204.9a5.3%205.3%200%200%200-7.5%200L12%206l-1.1-1.1a5.3%205.3%200%200%200-7.5%207.5L12%2021l8.5-8.6a5.3%205.3%200%200%200%200-7.5Z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20.5%204.9a5.3%205.3%200%200%200-7.5%200L12%206l-1.1-1.1a5.3%205.3%200%200%200-7.5%207.5L12%2021l8.5-8.6a5.3%205.3%200%200%200%200-7.5Z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
body.eniary-gallery-restyle .eniary-icon-bar .eniary-icon.fa-download::before {content:""!important;display:block;width:18px;height:18px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203v12m-5-5%205%205%205-5M4%2016v4h16v-4%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203v12m-5-5%205%205%205-5M4%2016v4h16v-4%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
body.eniary-gallery-restyle .eniary-icon-bar .eniary-icon.fa-comment::before {content:""!important;display:block;width:18px;height:18px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M21%2011.5a8.8%208.8%200%200%201-9%208.5%209.5%209.5%200%200%201-4-.8L3%2021l1.6-4.5A8%208%200%200%201%203%2011.5%208.8%208.8%200%200%201%2012%203a8.8%208.8%200%200%201%209%208.5Z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M21%2011.5a8.8%208.8%200%200%201-9%208.5%209.5%209.5%200%200%201-4-.8L3%2021l1.6-4.5A8%208%200%200%201%203%2011.5%208.8%208.8%200%200%201%2012%203a8.8%208.8%200%200%201%209%208.5Z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
body.eniary-gallery-restyle .eniary-icon-bar .eniary-icon.fa-comment-dots::before {content:""!important;display:block;width:18px;height:18px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M21%2011.5a8.8%208.8%200%200%201-9%208.5%209.5%209.5%200%200%201-4-.8L3%2021l1.6-4.5A8%208%200%200%201%203%2011.5%208.8%208.8%200%200%201%2012%203a8.8%208.8%200%200%201%209%208.5Z%22%2F%3E%3Cpath%20d%3D%22M8%2011.5h.1m3.9%200h.1m3.9%200h.1%22%20stroke-width%3D%222.5%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M21%2011.5a8.8%208.8%200%200%201-9%208.5%209.5%209.5%200%200%201-4-.8L3%2021l1.6-4.5A8%208%200%200%201%203%2011.5%208.8%208.8%200%200%201%2012%203a8.8%208.8%200%200%201%209%208.5Z%22%2F%3E%3Cpath%20d%3D%22M8%2011.5h.1m3.9%200h.1m3.9%200h.1%22%20stroke-width%3D%222.5%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
body.eniary-gallery-restyle .eniary-icon-bar .eniary-icon.fa-shopping-cart::before {content:""!important;display:block;width:18px;height:18px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M2%203h3l3%2013h11l3-9H6M9%2020h.1m8.9%200h.1%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M2%203h3l3%2013h11l3-9H6M9%2020h.1m8.9%200h.1%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
}
/* Final spacing pass: reserve the stage for photographs, including on View Edits. */
body.eniary-gallery-restyle.egc-mode-edits .eac-account {margin:19px auto 0!important}
body.eniary-gallery-restyle.egc-mode-edits .eac-account-grid {gap:15px!important}
body.eniary-gallery-restyle.egc-mode-edits .egc-hero {padding:30px 24px 25px!important;margin-bottom:24px!important}
body.eniary-gallery-restyle.egc-mode-edits .egc-hero h1 {font-size:64px!important}
body.eniary-gallery-restyle.egc-mode-edits .egc-hero .egc-eyebrow {margin-bottom:14px!important}
body.eniary-gallery-restyle.egc-mode-edits .egc-hero-meta {margin-top:18px}
body.eniary-gallery-restyle.egc-mode-edits #eniary-revision-stepper {margin-top:0!important;margin-bottom:24px!important;padding-top:0!important;padding-bottom:19px!important}
@media (max-width:540px) {
 body.eniary-gallery-restyle .egc-utilities {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:7px;align-items:start}
 body.eniary-gallery-restyle .egc-utilities:not(:has([data-egc-history])) {grid-template-columns:repeat(2,minmax(0,1fr))}
 body.eniary-gallery-restyle .egc-utilities > .egc-disclosure[open] {grid-column:1 / -1;order:3}
 body.eniary-gallery-restyle .egc-utilities .eniary-legend-line1 {width:100%!important}
 body.eniary-gallery-restyle .egc-utilities .eniary-legend-line1 button {width:100%!important;padding:8px 7px!important;min-height:44px!important}
 body.eniary-gallery-restyle .egc-history-prefix {display:none}
 body.eniary-gallery-restyle .egc-history > summary > span:first-child {text-transform:capitalize}
 body.eniary-gallery-restyle .egc-utilities > .egc-disclosure > summary {padding:9px 10px;gap:5px}
 body.eniary-gallery-restyle .egc-utilities > .egc-disclosure[open] > summary .egc-history-prefix {display:inline}
 body.eniary-gallery-restyle .egc-utilities > .egc-disclosure[open] > summary > span:first-child {flex:1;text-transform:none}
 body.eniary-gallery-restyle.egc-mode-edits .egc-hero {padding:25px 16px 22px!important}
 body.eniary-gallery-restyle.egc-mode-edits .egc-hero h1 {font-size:45px!important}
 body.eniary-gallery-restyle.egc-mode-edits .egc-hero-meta {margin-top:15px}
 body.eniary-gallery-restyle.egc-mode-edits .eac-account {margin-top:12px!important}
 body.eniary-gallery-restyle.egc-mode-edits .eac-account-grid {gap:12px!important}
}
@media (max-width:360px) {
 body.eniary-gallery-restyle .egc-utilities {gap:5px}
 body.eniary-gallery-restyle .egc-utilities > .egc-disclosure > summary {padding:9px 7px;font-size:9px;gap:4px}
 body.eniary-gallery-restyle .egc-utilities .eniary-legend-line1 button {font-size:9px!important}
 body.eniary-gallery-restyle .egc-history-count {min-width:15px;height:15px;font-size:8px}
 body.eniary-gallery-restyle.egc-mode-edits .egc-hero h1 {font-size:39px!important}
}
body.eniary-gallery-restyle #eniary-revision-stepper .eniary-icon.fa-check::before {content:""!important;display:block;width:9px;height:5px;margin-top:-2px;border:0;border-left:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(-45deg)}

/* Final review and optional upgrades keep every consent, amount and condition. */
body.eniary-gallery-restyle .eniary-review-dialog {background:#f9f6ee!important;color:#332b1d!important}
body.eniary-gallery-restyle .eniary-review-header,body.eniary-gallery-restyle .eniary-review-actions {background:#f9f6ee!important;border-color:#e1d7c0!important}
body.eniary-gallery-restyle .eniary-review-header {padding-top:30px!important}
body.eniary-gallery-restyle .eniary-review-header h2 {color:#2c2313!important;font-size:29px!important;line-height:1.2!important}
body.eniary-gallery-restyle .eniary-review-header p {font:400 12px/1.75 var(--egc-sans)!important;color:#7a6b50!important}
body.eniary-gallery-restyle .eniary-review-body {background:#fffdf8!important}
body.eniary-gallery-restyle .eniary-review-close {color:#806833!important;background:transparent!important;border:1px solid #c9ba97!important;border-radius:50%!important;min-width:40px!important;min-height:40px!important;right:10px!important;top:10px!important;font-size:23px!important;box-shadow:none!important}
body.eniary-gallery-restyle .eniary-review-selected-head {color:#54452b!important;font-size:13px!important}
body.eniary-gallery-restyle .eniary-review-name {color:#786b53!important;font:400 10px/1.5 var(--egc-sans)!important;overflow-wrap:anywhere}
body.eniary-gallery-restyle .eniary-review-vip-upgrade {background:#faf1d6!important;border-color:#cdb982!important;border-radius:8px!important;color:#775b1f!important}
body.eniary-gallery-restyle .eniary-review-vip-upgrade h3,body.eniary-gallery-restyle .eniary-review-vip-upgrade strong {color:#6e5015!important}
body.eniary-gallery-restyle .eniary-review-vip-upgrade p {color:#806b3c!important;font:400 12px/1.75 var(--egc-sans)!important}
body.eniary-gallery-restyle .eniary-review-vip-upgrade input,body.eniary-gallery-restyle #eniary-review-agree {accent-color:#aa8000}
body.eniary-gallery-restyle .eniary-review-agreement {background:#f7f2e6!important;border-color:#d5c8aa!important;border-radius:7px!important;color:#4a3d23!important}
body.eniary-gallery-restyle .eniary-review-confirm {background:#ffc400!important;color:#271d05!important;border-color:#b99840!important;min-height:46px!important}
body.eniary-gallery-restyle .eniary-review-back {background:#1a1711!important;color:#fff4d9!important;border-color:#1a1711!important;min-height:44px!important}
@media(max-width:540px) {
 body.eniary-gallery-restyle .eniary-review-header {padding:24px 45px 17px 20px!important}
 body.eniary-gallery-restyle .eniary-review-header h2 {font-size:26px!important}
 body.eniary-gallery-restyle .eniary-review-close {min-width:36px!important;min-height:36px!important;width:36px!important;height:36px!important}
}

/* 6.17.74 | Full-width collection, photographic mats and native-action lightbox. */
/* Only the actual standalone gallery's ancestors receive this class. A reset on
   the nearest wrapper alone cannot defeat a 45% flex-basis / outer grid track. */
body.eniary-gallery-restyle.egc-mounted .egc-layout-ancestor {
 box-sizing:border-box!important;display:block!important;float:none!important;clear:both;
 flex:0 0 100%!important;grid-column:1 / -1!important;align-self:stretch!important;
 width:100%!important;min-width:0!important;max-width:none!important;
 inline-size:100%!important;min-inline-size:0!important;max-inline-size:none!important;
 margin:0!important;padding:0!important;left:auto!important;right:auto!important;
 transform:none!important;background:transparent!important;
}
body.eniary-gallery-restyle.egc-mounted .egc-layout-ancestor::before,
body.eniary-gallery-restyle.egc-mounted .egc-layout-ancestor::after {display:none!important}
body.eniary-gallery-restyle.egc-mounted .egc-layout-ancestor.egc-canvas {
 padding-left:max(32px,env(safe-area-inset-left,0px))!important;
 padding-right:max(32px,env(safe-area-inset-right,0px))!important;
}
body.eniary-gallery-restyle .eniary-client-gallery,
body.eniary-gallery-restyle .egc-hero {
 box-sizing:border-box!important;float:none!important;clear:both;flex:0 0 100%!important;
 grid-column:1 / -1!important;width:100%!important;min-width:0!important;max-width:none!important;
}
body.eniary-gallery-restyle .eniary-grid {width:100%!important;max-width:none!important;min-width:0!important;grid-auto-flow:row;align-items:start;gap:26px 22px}
body.eniary-gallery-restyle .eniary-thumb {
 box-sizing:border-box;border-radius:16px!important;overflow:hidden;
 background:#fffdf8!important;border:1px solid #e2dccf;box-shadow:0 6px 20px #34270c06!important;
}
body.eniary-gallery-restyle .eniary-thumb:hover {border-color:#c8b88f;box-shadow:0 10px 26px #34270c0b!important}
/* A quiet, consistently-sized mount rather than black letterbox strips. The
   actual image is fitted by its natural ratio, so corners belong to the PHOTO
   and neither heads, feet, image text nor artwork are cropped. */
body.eniary-gallery-restyle .eniary-thumb .egc-photo-stage {
 box-sizing:border-box;display:flex;align-items:center;justify-content:center;position:relative;
 flex:none;width:100%;aspect-ratio:2/3;padding:10px;background:#f1ede4;
 overflow:hidden;border:0;border-radius:15px 15px 0 0;line-height:0;
}
body.eniary-gallery-restyle .eniary-thumb .egc-photo-stage > img {
 display:block!important;flex:0 1 auto;position:static!important;float:none!important;
 width:auto!important;height:auto!important;min-width:0!important;min-height:0!important;
 max-width:100%!important;max-height:100%!important;aspect-ratio:auto!important;
 object-fit:contain!important;object-position:center!important;background:transparent!important;
 border:0!important;border-radius:9px!important;padding:0!important;margin:0!important;
 box-shadow:0 2px 8px #33260e0a!important;filter:none!important;cursor:zoom-in;
}
body.eniary-gallery-restyle .eniary-thumb .egc-photo-stage > img:focus-visible {outline-offset:-3px!important}
body.eniary-gallery-restyle .eniary-thumb .eniary-icon-bar {
 display:flex;align-items:center;justify-content:space-around;width:100%;min-height:54px;
 padding:5px 9px!important;background:#fffdf8!important;border:0!important;
 border-bottom:1px solid #ede7da!important;border-radius:0!important;
}
body.eniary-gallery-restyle .eniary-thumb .eniary-icon-bar .eniary-icon {
 flex:1 1 0;max-width:64px;min-width:0!important;width:auto!important;height:44px!important;
 margin:0!important;padding:0!important;color:#796a48!important;background:transparent!important;
 border-radius:10px!important;line-height:1!important;
}
body.eniary-gallery-restyle .eniary-thumb .eniary-icon-bar .eniary-icon:hover:not(.disabled) {color:#17130a!important;background:#f3eddc!important}
body.eniary-gallery-restyle .eniary-thumb .eniary-icon-bar .eniary-icon.selected,
body.eniary-gallery-restyle .eniary-thumb .eniary-icon-bar .eniary-icon.commented {color:#946b00!important;background:#fff4c9!important}
body.eniary-gallery-restyle .eniary-thumb .eniary-icon-bar .eniary-icon.added-addon {color:#246b4d!important;background:#eaf4eb!important}
body.eniary-gallery-restyle .eniary-thumb .eniary-icon-bar .eniary-icon:focus-visible {outline-offset:-3px!important}
body.eniary-gallery-restyle .eniary-thumb .eniary-filename {padding:11px 14px 0!important;color:#5d5544!important;font-weight:650!important;overflow-wrap:anywhere}
body.eniary-gallery-restyle .eniary-thumb .eniary-image-counter {padding:3px 14px 13px!important;color:#9a907b!important}
body.eniary-gallery-restyle .egc-hero {border-radius:0 0 16px 16px}
/* Font glyphs are not geometric icons. Reset the inherited absolute offsets AND
   transform so the same check is centered on both black and gold circles. */
body.eniary-gallery-restyle #eniary-revision-stepper .eniary-icon {position:relative!important;box-sizing:border-box!important;text-indent:0!important}
body.eniary-gallery-restyle #eniary-revision-stepper .eniary-icon.fa-check::before {
 content:""!important;display:block!important;position:absolute!important;
 top:50%!important;left:50%!important;right:auto!important;bottom:auto!important;
 width:16px!important;height:16px!important;margin:0!important;padding:0!important;
 border:0!important;border-radius:0!important;color:inherit!important;background:currentColor!important;
 transform:translate(-50%,-50%)!important;line-height:0!important;box-shadow:none!important;
 -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m4 12 5 5L20 7' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
 mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m4 12 5 5L20 7' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
 pointer-events:none;
}
body.eniary-gallery-restyle #eniary-revision-stepper .eniary-icon.fa-check::after {content:none!important;display:none!important}
body.eniary-gallery-restyle #eniary-lightbox .eniary-lightbox-close {font-size:0!important;line-height:0!important;text-indent:0!important;box-sizing:border-box!important}
body.eniary-gallery-restyle #eniary-lightbox .eniary-lightbox-close::before {
 content:""!important;display:block!important;position:absolute!important;
 top:50%!important;left:50%!important;right:auto!important;bottom:auto!important;
 width:16px!important;height:16px!important;margin:0!important;padding:0!important;
 border:0!important;border-radius:0!important;transform:translate(-50%,-50%)!important;
 background:currentColor!important;box-shadow:none!important;pointer-events:none;
 -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 6 12 12M18 6 6 18' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
 mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 6 12 12M18 6 6 18' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
body.eniary-gallery-restyle #eniary-lightbox .eniary-lightbox-close::after {content:none!important;display:none!important}
/* The controls sit BELOW the photograph, not over faces or over the filename. */
body.eniary-gallery-restyle #eniary-lightbox.egc-has-photo-actions {
 box-sizing:border-box!important;padding:72px 92px calc(142px + env(safe-area-inset-bottom,0px))!important;
}
body.eniary-gallery-restyle #eniary-lightbox.egc-has-photo-actions #eniary-lightbox-img {
 width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;min-height:0!important;min-width:0!important;
}
body.eniary-gallery-restyle #eniary-lightbox.egc-has-photo-actions #eniary-lightbox-caption {
 bottom:calc(108px + env(safe-area-inset-bottom,0px))!important;max-width:calc(100% - 60px);font-size:11px!important;
}
body.eniary-gallery-restyle #eniary-lightbox .egc-lightbox-actions {
 box-sizing:border-box;position:absolute;left:50%;bottom:calc(23px + env(safe-area-inset-bottom,0px));
 transform:translateX(-50%);display:flex;align-items:center;justify-content:center;gap:5px;
 max-width:calc(100% - 32px);min-height:66px;padding:6px;border:1px solid #51472e;
 border-radius:18px;background:#181712;box-shadow:0 9px 36px #0004;z-index:5;
}
body.eniary-gallery-restyle #eniary-lightbox .egc-lightbox-action {
 box-sizing:border-box;appearance:none;-webkit-appearance:none;display:flex;flex-direction:column;align-items:center;justify-content:center;
 gap:7px;flex:0 1 85px;width:85px!important;min-width:58px;min-height:54px!important;
 margin:0!important;padding:8px 12px!important;border:1px solid transparent!important;border-radius:12px!important;
 background:transparent!important;color:#ded3b5!important;box-shadow:none!important;text-shadow:none!important;
 font:550 10px/1.25 var(--egc-sans)!important;letter-spacing:.01em!important;text-transform:none!important;cursor:pointer;
}
body.eniary-gallery-restyle #eniary-lightbox .egc-lightbox-action::before,
body.eniary-gallery-restyle #eniary-lightbox .egc-lightbox-action::after {content:none!important;display:none!important}
body.eniary-gallery-restyle #eniary-lightbox .egc-lightbox-action svg {display:block;width:20px;height:20px;min-width:20px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
body.eniary-gallery-restyle #eniary-lightbox .egc-lightbox-action span {pointer-events:none}
body.eniary-gallery-restyle #eniary-lightbox .egc-lightbox-action:hover:not(:disabled) {border-color:#70603c!important;background:#29251a!important;color:#fff3d2!important}
body.eniary-gallery-restyle #eniary-lightbox .egc-lightbox-action.is-active {background:#ffc400!important;color:#201a09!important}
body.eniary-gallery-restyle #eniary-lightbox .egc-lightbox-action[data-egc-action=select].is-active svg {fill:currentColor}
body.eniary-gallery-restyle #eniary-lightbox .egc-lightbox-action:disabled {opacity:.35!important;cursor:not-allowed!important}
body.eniary-gallery-restyle #eniary-lightbox .egc-lightbox-action-status {padding:8px 12px;color:#bfb59d;font:400 12px/1.5 var(--egc-sans);text-align:center}
body.eniary-gallery-restyle #eniary-lightbox .egc-lightbox-retry {min-height:44px;padding:8px 12px;border:1px solid #7a6737;border-radius:9px;background:#ffc400;color:#211a0c;font:600 11px/1.4 var(--egc-sans);white-space:normal}
body.eniary-gallery-restyle #eniary-lightbox.egc-has-photo-actions .egc-lightbox-hint {bottom:43px;max-width:180px;text-align:right}
/* Nested original dialogs must remain above the lightbox. Red/green decisions
   and every original save, upload and cancel action are left in place. */
body.eniary-gallery-restyle.egc-preview-open #eniary-comment-modal {z-index:10020!important}
body.eniary-gallery-restyle.egc-preview-open .egc-addon-dialog {z-index:10030!important}
body.eniary-gallery-restyle.egc-preview-open #eniary-message-modal {z-index:10040!important}
@media (min-width:1800px) {
 body.eniary-gallery-restyle:not(.egc-mode-edits) .eniary-grid {grid-template-columns:repeat(5,minmax(0,1fr))}
}
@media (min-width:2400px) {
 body.eniary-gallery-restyle:not(.egc-mode-edits) .eniary-grid {grid-template-columns:repeat(6,minmax(0,1fr))}
}
@media (max-width:820px) {
 body.eniary-gallery-restyle.egc-mounted .egc-layout-ancestor.egc-canvas {padding-left:max(18px,env(safe-area-inset-left,0px))!important;padding-right:max(18px,env(safe-area-inset-right,0px))!important}
 body.eniary-gallery-restyle .eniary-grid {gap:20px 14px}
 body.eniary-gallery-restyle .eniary-thumb {border-radius:13px!important}
 body.eniary-gallery-restyle .eniary-thumb .egc-photo-stage {border-radius:12px 12px 0 0;padding:7px}
 body.eniary-gallery-restyle .eniary-thumb .egc-photo-stage > img {border-radius:7px!important}
 body.eniary-gallery-restyle #eniary-lightbox.egc-has-photo-actions {padding:72px 14px calc(194px + env(safe-area-inset-bottom,0px))!important}
 body.eniary-gallery-restyle #eniary-lightbox.egc-has-photo-actions .egc-lightbox-actions {bottom:calc(77px + env(safe-area-inset-bottom,0px));min-height:62px;padding:4px;border-radius:15px}
 body.eniary-gallery-restyle #eniary-lightbox.egc-has-photo-actions #eniary-lightbox-caption {bottom:calc(158px + env(safe-area-inset-bottom,0px))!important;font-size:10px!important}
 body.eniary-gallery-restyle #eniary-lightbox .egc-lightbox-action {width:70px!important;flex-basis:70px;min-width:54px;padding:7px 8px!important}
}
@media (max-width:540px) {
 body.eniary-gallery-restyle.egc-mounted .egc-layout-ancestor.egc-canvas {padding-left:max(12px,env(safe-area-inset-left,0px))!important;padding-right:max(12px,env(safe-area-inset-right,0px))!important}
 body.eniary-gallery-restyle .eniary-grid {gap:17px 10px}
 body.eniary-gallery-restyle .eniary-thumb .egc-photo-stage {padding:6px}
 body.eniary-gallery-restyle .eniary-thumb .eniary-icon-bar {padding:3px!important;min-height:48px}
 body.eniary-gallery-restyle .eniary-thumb .eniary-icon-bar .eniary-icon {border-radius:8px!important;max-width:none}
 body.eniary-gallery-restyle .eniary-thumb .eniary-filename {padding:9px 9px 0!important;font-size:10px!important}
 body.eniary-gallery-restyle .eniary-thumb .eniary-image-counter {padding:3px 9px 10px!important;font-size:9px!important}
}
@media (max-height:500px) and (orientation:landscape) {
 body.eniary-gallery-restyle #eniary-lightbox.egc-has-photo-actions {padding:52px 80px 90px!important}
 body.eniary-gallery-restyle #eniary-lightbox.egc-has-photo-actions .egc-lightbox-actions {bottom:10px;min-height:48px;padding:3px}
 body.eniary-gallery-restyle #eniary-lightbox.egc-has-photo-actions #eniary-lightbox-caption {bottom:68px!important;font-size:10px!important}
 body.eniary-gallery-restyle #eniary-lightbox .egc-lightbox-action {flex-direction:row;gap:6px;min-height:40px!important;width:95px!important;flex-basis:95px;padding:5px 8px!important}
 body.eniary-gallery-restyle #eniary-lightbox .egc-lightbox-action svg {width:18px;height:18px}
 body.eniary-gallery-restyle #eniary-lightbox.egc-has-photo-actions .egc-lightbox-hint {display:none}
}
/* Finished edits are commonly delivered in a shorter portrait format. Use the
   same framed treatment with a 4:5 mount; proof selections keep the 2:3 mount. */
body.eniary-gallery-restyle.egc-mode-edits .eniary-thumb .egc-photo-stage {aspect-ratio:4/5}

/* 6.17.78 | Inset mobile entrance, aligned with the photographs and View Edits.
   The gateway hero is a sibling of the content shell, so inset the hero itself.
   Its inner shell must NOT add a second pair of horizontal gutters. The gold
   topbar and navigation are outside this scope and remain edge-to-edge. */
@media (max-width:820px) {
 body.eniary-gallery-restyle {--egc-mobile-left:max(16px,env(safe-area-inset-left,0px));--egc-mobile-right:max(16px,env(safe-area-inset-right,0px))}
 body.eniary-gallery-restyle .egc-hero {border-radius:16px}
 body.eniary-gallery-restyle .eniary-gallery-gateway {padding-top:18px}
 body.eniary-gallery-restyle .eniary-gallery-gateway > .eniary-gallery-gateway__hero,
 body.eniary-gallery-restyle .eniary-gallery-gateway > .eniary-gallery-gateway__content {
  box-sizing:border-box!important;
  width:calc(100% - var(--egc-mobile-left) - var(--egc-mobile-right))!important;
  margin-left:var(--egc-mobile-left)!important;margin-right:var(--egc-mobile-right)!important;
 }
 body.eniary-gallery-restyle .eniary-gallery-gateway > .eniary-gallery-gateway__hero {
  margin-top:0!important;margin-bottom:0!important;padding:30px 18px 26px!important;
  border:1px solid #302919;border-radius:16px;
 }
 body.eniary-gallery-restyle .eniary-gallery-gateway__hero > .eniary-gallery-gateway__shell {
  width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;
 }
 body.eniary-gallery-restyle .eniary-gallery-gateway__content {padding-top:20px!important}
 body.eniary-gallery-restyle .eniary-gallery-gateway__account-line {justify-content:center;overflow-wrap:anywhere}
 body.eniary-gallery-restyle .eniary-gallery-gateway__account-line > span {min-width:0;max-width:100%}
}
@media (max-width:540px) {
 body.eniary-gallery-restyle {--egc-mobile-left:max(12px,env(safe-area-inset-left,0px));--egc-mobile-right:max(12px,env(safe-area-inset-right,0px))}
}

/* 6.17.92 | Gallery gateway hero. */
body.eniary-gallery-restyle .eniary-gallery-gateway__hero h1 {
 width:100%!important;max-width:none!important;text-align:center!important;
 margin-left:auto!important;margin-right:auto!important;
}
body.eniary-gallery-restyle .eniary-gallery-gateway__account-line {
 justify-content:center;text-align:center;overflow-wrap:anywhere;
}
body.eniary-gallery-restyle .eniary-gallery-gateway__account-line > span {min-width:0;max-width:100%}
body.eniary-gallery-restyle .eniary-gallery-gateway__hero .egc-hero-dedication {
 display:flex;flex-wrap:wrap;justify-content:center;align-items:baseline;gap:6px 10px;
 max-width:100%;text-align:center;
}
body.eniary-gallery-restyle .egc-hero-dedication-label {
 color:#c6c0b4;font:500 9px/1.6 var(--egc-sans);letter-spacing:.16em;text-transform:uppercase;
}
body.eniary-gallery-restyle .egc-hero-dedication-name {
 min-width:0;max-width:100%;color:var(--egc-gold);font:italic 700 22px/1.25 var(--egc-serif);
 letter-spacing:0;text-transform:none;overflow-wrap:anywhere;
}
@media (min-width:821px) {
 body.eniary-gallery-restyle .eniary-gallery-gateway {
  --egc-hero-left:max(32px,env(safe-area-inset-left,0px));
  --egc-hero-right:max(32px,env(safe-area-inset-right,0px));padding-top:18px;
 }
 body.eniary-gallery-restyle .eniary-gallery-gateway > .eniary-gallery-gateway__hero {
  width:calc(100% - var(--egc-hero-left) - var(--egc-hero-right))!important;
  margin-left:var(--egc-hero-left)!important;margin-right:var(--egc-hero-right)!important;
  border:1px solid #302919;border-radius:16px;
 }
 body.eniary-gallery-restyle .eniary-gallery-gateway__hero > .eniary-gallery-gateway__shell {
  width:100%!important;max-width:1440px!important;margin:0 auto!important;
 }
}

/* 6.17.104: keep the compact SE dock; add breathing room on wider phones. */
@media (min-width:390px) and (max-width:540px) {
 body.eniary-gallery-restyle #eniary-toolbar #submit-selection {min-width:76px!important;padding:10px 14px!important}
}

/* Only the photo/backdrop handles horizontal navigation. Native pinch zoom
   remains enabled; once zoomed, native panning keeps both axes. */
body.eniary-gallery-restyle #eniary-lightbox.egc-swipe-enabled,
body.eniary-gallery-restyle #eniary-lightbox.egc-swipe-enabled #eniary-lightbox-img {touch-action:pan-y pinch-zoom}
body.eniary-gallery-restyle #eniary-lightbox.egc-swipe-enabled.egc-touch-zoomed,
body.eniary-gallery-restyle #eniary-lightbox.egc-swipe-enabled.egc-touch-zoomed #eniary-lightbox-img {touch-action:auto}

/* 6.17.106: shared guide cards. Only the two selection guides and the public
   quick-start card use these tokens. History, photos, dock and modals keep
   their existing appearance and behavior. The theme sheet supplies dark values. */
body.eniary-gallery-restyle .egc-guide {
 --egc-guide-panel:#f7f3ea;
 --egc-guide-card:#fffdf8;
 --egc-guide-heading:#29241b;
 --egc-guide-text:#5c5142;
 --egc-guide-muted:#685c49;
 --egc-guide-border:#dcd2c0;
 --egc-guide-accent:#755300;
 --egc-guide-number-bg:#f3e7c9;
 --egc-guide-note-bg:#f3ead6;
 --egc-guide-note-border:#cbb87e;
 --egc-guide-summary:#eee7d7;
}
body.eniary-gallery-restyle .egc-guide.egc-disclosure > summary {
 background:var(--egc-guide-card)!important;
 color:var(--egc-guide-heading)!important;
 border-color:var(--egc-guide-border)!important;
}
body.eniary-gallery-restyle .egc-guide.egc-disclosure[open] > summary,
body.eniary-gallery-restyle .egc-guide.egc-disclosure > summary:hover {
 background:var(--egc-guide-summary)!important;
 border-color:var(--egc-guide-note-border)!important;
}
body.eniary-gallery-restyle .egc-guide.egc-disclosure > summary span {
 color:inherit!important;
}
body.eniary-gallery-restyle .egc-guide.egc-disclosure > summary .egc-disclosure-plus {
 color:var(--egc-guide-accent)!important;
}
body.eniary-gallery-restyle .egc-guide.egc-disclosure .egc-guide-body {
 box-sizing:border-box;
 min-width:0;
 width:100%!important;
 padding:24px!important;
 background:var(--egc-guide-panel)!important;
 color:var(--egc-guide-text)!important;
 border-color:var(--egc-guide-border)!important;
 text-align:left!important;
}
/* Explicit descendant colors stop legacy paragraph/strong rules from mixing
   light-theme text with dark surfaces (or the reverse). No blanket inversion. */
body.eniary-gallery-restyle .egc-guide.egc-disclosure .egc-guide-body p,
body.eniary-gallery-restyle .egc-guide.egc-disclosure .egc-guide-body li {
 color:var(--egc-guide-text)!important;
}
body.eniary-gallery-restyle .egc-guide.egc-disclosure .egc-guide-body strong,
body.eniary-gallery-restyle .egc-guide.egc-disclosure .egc-guide-body b {
 color:var(--egc-guide-heading)!important;
 font-weight:700;
}
body.eniary-gallery-restyle .egc-guide.egc-disclosure .egc-guide-body a {
 color:var(--egc-guide-accent)!important;
 text-decoration:underline;
 text-underline-offset:3px;
}
body.eniary-gallery-restyle .egc-guide.egc-disclosure .eniary-help-title,
body.eniary-gallery-restyle .egc-guide.egc-disclosure .eniary-gallery-gateway__instructions-heading h2 {
 color:var(--egc-guide-heading)!important;
 margin:0 0 20px!important;
 font:700 25px/1.25 var(--egc-serif)!important;
 letter-spacing:-.025em!important;
 text-align:left!important;
}
body.eniary-gallery-restyle .egc-guide.egc-disclosure .eniary-gallery-gateway__instructions-heading .eniary-gallery-gateway__kicker {
 color:var(--egc-guide-accent)!important;
 margin:0 0 8px!important;
}
body.eniary-gallery-restyle .egc-guide.egc-disclosure .eniary-help-steps,
body.eniary-gallery-restyle .egc-guide.egc-disclosure .eniary-gallery-gateway__steps {
 display:grid!important;
 grid-template-columns:repeat(2,minmax(0,1fr))!important;
 gap:12px!important;
 min-width:0;
 margin:0!important;
 padding:0!important;
 list-style:none!important;
 border:0!important;
 background:transparent!important;
 overflow:visible;
}
body.eniary-gallery-restyle .egc-guide.egc-disclosure .eniary-help-steps > li,
body.eniary-gallery-restyle .egc-guide.egc-disclosure .eniary-gallery-gateway__steps > article {
 box-sizing:border-box;
 position:relative;
 min-width:0;
 min-height:0;
 margin:0!important;
 padding:18px!important;
 border:1px solid var(--egc-guide-border)!important;
 border-radius:10px;
 background:var(--egc-guide-card)!important;
 color:var(--egc-guide-text)!important;
 font:400 13px/1.75 var(--egc-sans)!important;
 overflow-wrap:break-word;
 text-align:left!important;
}
body.eniary-gallery-restyle .egc-guide.egc-disclosure .eniary-help-steps > li::before,
body.eniary-gallery-restyle .egc-guide.egc-disclosure .eniary-gallery-gateway__steps > article > span {
 position:absolute;
 display:flex;
 align-items:center;
 justify-content:center;
 top:18px;
 left:18px;
 width:25px;
 height:25px;
 margin:0;
 padding:0;
 border:0;
 border-radius:50%;
 background:var(--egc-guide-number-bg)!important;
 color:var(--egc-guide-accent)!important;
 font:700 11px/1 var(--egc-sans)!important;
}
body.eniary-gallery-restyle .egc-guide.egc-disclosure .eniary-help-steps > li::before {
 content:counter(egc-help);
}
body.eniary-gallery-restyle .egc-guide.egc-disclosure .eniary-help-steps > li > b,
body.eniary-gallery-restyle .egc-guide.egc-disclosure .eniary-gallery-gateway__steps > article > h3 {
 display:block;
 min-height:25px;
 margin:0 0 10px!important;
 padding:2px 0 0 35px!important;
 color:var(--egc-guide-heading)!important;
 font:700 14px/1.5 var(--egc-sans)!important;
 letter-spacing:0!important;
}
body.eniary-gallery-restyle .egc-guide.egc-disclosure .eniary-gallery-gateway__steps > article > p {
 margin:0 0 8px!important;
 font:400 13px/1.75 var(--egc-sans)!important;
}
body.eniary-gallery-restyle .egc-guide.egc-disclosure .eniary-gallery-gateway__steps > article > p:last-child {
 margin-bottom:0!important;
}
/* Lower-priority details stay together, rather than becoming three more steps. */
body.eniary-gallery-restyle .egc-guide.egc-disclosure .eniary-gallery-guide-notes {
 margin:20px 0 0;
 padding:16px 18px;
 border:1px solid var(--egc-guide-border);
 border-radius:10px;
 background:var(--egc-guide-card);
}
body.eniary-gallery-restyle .egc-guide.egc-disclosure .egc-guide-section-title {
 grid-column:1 / -1;
 margin:0 0 8px!important;
 padding:0;
 color:var(--egc-guide-heading)!important;
 font:700 13px/1.5 var(--egc-sans)!important;
 letter-spacing:0!important;
 text-transform:none!important;
}
body.eniary-gallery-restyle .egc-guide.egc-disclosure .eniary-gallery-guide-notes p {
 margin:0 0 7px!important;
 font:400 12px/1.75 var(--egc-sans)!important;
}
body.eniary-gallery-restyle .egc-guide.egc-disclosure .eniary-gallery-guide-notes p:last-child {
 margin-bottom:0!important;
}
body.eniary-gallery-restyle .egc-guide.egc-disclosure .egc-guide-body .egc-guide-draft-note {
 margin:12px 0 0!important;
 padding:13px 16px;
 border:1px solid var(--egc-guide-note-border);
 border-left:3px solid var(--egc-guide-accent);
 border-radius:8px;
 background:var(--egc-guide-note-bg);
 color:var(--egc-guide-text)!important;
 font:400 12px/1.75 var(--egc-sans)!important;
}
body.eniary-gallery-restyle .egc-guide.egc-disclosure .egc-guide-draft-note > strong {
 display:block;
 margin-bottom:3px;
}
/* Prices travel with the original pricing node when the gateway opens a
   gallery. Their colors cannot depend on remaining inside the gateway. */
body.eniary-gallery-restyle .egc-guide.egc-disclosure .eniary-gallery-gateway__pricing {
 gap:12px!important;
 margin:20px 0 0!important;
 padding:0!important;
 border:0!important;
}
body.eniary-gallery-restyle .egc-guide.egc-disclosure .eniary-gallery-gateway__pricing > .egc-guide-section-title {
 margin:0!important;
}
body.eniary-gallery-restyle .egc-guide.egc-disclosure .eniary-gallery-gateway__pricing > div {
 padding:16px 18px!important;
 border:1px solid var(--egc-guide-border)!important;
 border-radius:10px;
 background:var(--egc-guide-card)!important;
}
body.eniary-gallery-restyle .egc-guide.egc-disclosure .eniary-gallery-gateway__pricing h3 {
 color:var(--egc-guide-heading)!important;
 margin:6px 0!important;
 font-size:14px!important;
}
body.eniary-gallery-restyle .egc-guide.egc-disclosure .eniary-gallery-gateway__pricing p {
 color:var(--egc-guide-text)!important;
 margin:0!important;
}
body.eniary-gallery-restyle .egc-guide.egc-disclosure .eniary-gallery-gateway__pricing .eniary-gallery-gateway__price {
 color:var(--egc-guide-accent)!important;
 font-size:25px!important;
}
body.eniary-gallery-restyle .egc-guide.egc-disclosure .eniary-gallery-gateway__pricing .eniary-gallery-gateway__price span {
 color:var(--egc-guide-muted)!important;
}
body.eniary-gallery-restyle .egc-guide.egc-disclosure .eniary-help-dismiss {
 min-height:44px!important;
 margin:18px 0 0!important;
 background:var(--egc-guide-card)!important;
 color:var(--egc-guide-heading)!important;
 border-color:var(--egc-guide-note-border)!important;
}
body.eniary-gallery-restyle .egc-guide.egc-disclosure .eniary-help-dismiss:hover {
 background:var(--egc-guide-summary)!important;
}
/* The public quick-start copy is a separate, permanently dark brand card.
   Its type stays ivory in either appearance rather than inheriting light ink. */
body.eniary-gallery-restyle .eniary-gallery-gateway__quick-card {
 --egc-guide-heading:#fff4df;
 --egc-guide-text:#d1c7b5;
 --egc-guide-accent:#ffc400;
 --egc-guide-number-bg:#352b15;
}
body.eniary-gallery-restyle .eniary-gallery-gateway__quick-card h2,
body.eniary-gallery-restyle .eniary-gallery-gateway__quick-card .eniary-gallery-gateway__mini-steps strong {
 color:var(--egc-guide-heading)!important;
}
body.eniary-gallery-restyle .eniary-gallery-gateway__quick-card .eniary-gallery-gateway__mini-steps p {
 color:var(--egc-guide-text)!important;
}
body.eniary-gallery-restyle .eniary-gallery-gateway__quick-card p.eniary-gallery-gateway__kicker {
 color:var(--egc-guide-accent)!important;
}
body.eniary-gallery-restyle .eniary-gallery-gateway__quick-card .eniary-gallery-gateway__mini-steps span {
 background:var(--egc-guide-number-bg)!important;
 color:var(--egc-guide-accent)!important;
}
@media (max-width:700px) {
 body.eniary-gallery-restyle .egc-guide.egc-disclosure .egc-guide-body {padding:16px!important}
 body.eniary-gallery-restyle .egc-guide.egc-disclosure .eniary-help-steps,
 body.eniary-gallery-restyle .egc-guide.egc-disclosure .eniary-gallery-gateway__steps,
 body.eniary-gallery-restyle .egc-guide.egc-disclosure .eniary-gallery-gateway__pricing {grid-template-columns:minmax(0,1fr)!important}
 body.eniary-gallery-restyle .egc-guide.egc-disclosure .eniary-help-title,
 body.eniary-gallery-restyle .egc-guide.egc-disclosure .eniary-gallery-gateway__instructions-heading h2 {font-size:22px!important;margin-bottom:16px!important}
}
@media (max-width:360px) {
 body.eniary-gallery-restyle .egc-guide.egc-disclosure .egc-guide-body {padding:12px!important}
 body.eniary-gallery-restyle .egc-guide.egc-disclosure .eniary-help-steps > li,
 body.eniary-gallery-restyle .egc-guide.egc-disclosure .eniary-gallery-gateway__steps > article {padding:14px!important}
 body.eniary-gallery-restyle .egc-guide.egc-disclosure .eniary-help-steps > li::before,
 body.eniary-gallery-restyle .egc-guide.egc-disclosure .eniary-gallery-gateway__steps > article > span {top:14px;left:14px}
}

/* 6.17.107: contain only the opened selection guide, not the photo grid or dock.
   The trigger keeps its existing place beside history/download when closed. */
@media (min-width:701px) {
 body.eniary-gallery-restyle .egc-guide.egc-disclosure[data-egc-help][open] {
  width:100%!important;
  max-width:100%!important;
 }
 /* The full-row details keeps history/download on their own row. Its visible
    summary and body share one centered width, even on very wide desktops. */
 body.eniary-gallery-restyle .egc-guide.egc-disclosure[data-egc-help][open] > summary,
 body.eniary-gallery-restyle .egc-guide.egc-disclosure[data-egc-help][open] > .egc-guide-body {
  box-sizing:border-box;
  width:100%!important;
  max-width:1100px!important;
  margin:0 auto!important;
 }
 body.eniary-gallery-restyle .egc-guide.egc-disclosure[data-egc-help] .egc-guide-body {padding:22px!important}
 body.eniary-gallery-restyle .egc-guide.egc-disclosure[data-egc-help] .eniary-help-title {margin-bottom:16px!important}
 body.eniary-gallery-restyle .egc-guide.egc-disclosure[data-egc-help] .eniary-help-steps {grid-auto-rows:1fr}
 body.eniary-gallery-restyle .egc-guide.egc-disclosure[data-egc-help] .eniary-gallery-guide-notes {margin-top:16px}
 body.eniary-gallery-restyle .egc-guide.egc-disclosure[data-egc-help] .eniary-gallery-gateway__pricing {margin-top:16px!important}
 body.eniary-gallery-restyle .egc-guide.egc-disclosure[data-egc-help] .eniary-help-dismiss {margin-top:16px!important}
}
