/* Decorative chrome: gallery photo on SidePanel; logo petals on the page canvas.
   Gated by body.tess-photo-chrome and/or tess-skin-gold. Palette stays on --tess-brand. */

body.tess-photo-chrome.tess-inspinia5-body .tess-inspinia5-shell .sidepanel-layout-flex .sidepanel,
body.tess-photo-chrome.tess-inspinia5-body .tess-inspinia5-shell:has(#sidepanel) #header-item-dashboardlink {
    --theme-sidenav-bg: transparent;
    --theme-sidenav-item-color: rgba(255, 255, 255, 0.88);
    --theme-sidenav-item-hover-color: #fff;
    --theme-sidenav-item-hover-bg: rgba(255, 255, 255, 0.1);
    --theme-sidenav-item-active-bg: color-mix(in srgb, var(--tess-brand) 72%, transparent);
    --theme-sidenav-border-color: rgba(255, 255, 255, 0.14);
    --tess-sidepanel-bg: transparent;
    --tess-sidepanel-fg: rgba(255, 255, 255, 0.88);
    --tess-sidepanel-muted: rgba(255, 255, 255, 0.72);
    --tess-sidepanel-button-bg: transparent;
    --tess-sidepanel-button-hover-bg: rgba(255, 255, 255, 0.1);
    --tess-sidepanel-button-active-bg: color-mix(in srgb, var(--tess-brand) 72%, transparent);
    background-color: #111;
    background-image: var(--tess-chrome-sidebar-scrim), var(--tess-chrome-photo);
    background-position: center, var(--tess-chrome-photo-position, 34% 80%);
    background-repeat: no-repeat;
    background-size: cover;
    color: rgba(255, 255, 255, 0.88);
    border-right-color: rgba(255, 255, 255, 0.14);
}

body.tess-photo-chrome.tess-inspinia5-body .tess-inspinia5-shell .sidepanel-mode-footer {
    background: transparent;
    border-top-color: rgba(255, 255, 255, 0.14);
}

body.tess-photo-chrome.tess-inspinia5-body .tess-inspinia5-shell .sidepanel-mode-toggle {
    color: rgba(255, 255, 255, 0.88);
}

body.tess-inspinia5-body.tess-skin-gold .tess-inspinia5-shell .sidepanel-layout-flex .sidepanel-main-inner,
body.tess-photo-chrome.tess-inspinia5-body .tess-inspinia5-shell .sidepanel-layout-flex .sidepanel-main-inner {
    position: relative;
    isolation: isolate;
}

body.tess-inspinia5-body.tess-skin-gold .tess-inspinia5-shell .sidepanel-layout-flex .sidepanel-main-inner::after,
body.tess-photo-chrome.tess-inspinia5-body .tess-inspinia5-shell .sidepanel-layout-flex .sidepanel-main-inner::after {
    content: "";
    position: absolute;
    top: -24px;
    right: 4%;
    width: min(48%, 560px);
    aspect-ratio: 1;
    pointer-events: none;
    z-index: 0;
    background-color: var(--tess-brand, #c4a265);
    opacity: 0.18;
    -webkit-mask-image: var(--tess-petals-mask);
    mask-image: var(--tess-petals-mask);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

body.tess-inspinia5-body.tess-skin-gold .tess-inspinia5-shell .sidepanel-layout-flex .sidepanel-main-inner > *,
body.tess-photo-chrome.tess-inspinia5-body .tess-inspinia5-shell .sidepanel-layout-flex .sidepanel-main-inner > * {
    position: relative;
    z-index: 1;
}

/* Page-header: keep the canvas mark off this layout; paint a login-style crop on the table. */
body.tess-inspinia5-body.tess-skin-gold .tess-inspinia5-shell .sidepanel-layout-flex .sidepanel-main-inner:has(.nicetable--page-header)::after,
body.tess-photo-chrome.tess-inspinia5-body .tess-inspinia5-shell .sidepanel-layout-flex .sidepanel-main-inner:has(.nicetable--page-header)::after {
    content: none;
}

body.tess-inspinia5-body.tess-skin-gold .tess-inspinia5-shell .nicetable--page-header,
body.tess-photo-chrome.tess-inspinia5-body .tess-inspinia5-shell .nicetable--page-header {
    position: relative;
}

body.tess-inspinia5-body.tess-skin-gold .tess-inspinia5-shell .nicetable--page-header::before,
body.tess-photo-chrome.tess-inspinia5-body .tess-inspinia5-shell .nicetable--page-header::before {
    content: "";
    position: absolute;
    top: -8px;
    right: 12%;
    width: min(58%, 680px);
    aspect-ratio: 1;
    pointer-events: none;
    z-index: 0;
    background-color: var(--tess-brand, #c4a265);
    opacity: 0.2;
    -webkit-mask-image: var(--tess-petals-mask);
    mask-image: var(--tess-petals-mask);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

body.tess-inspinia5-body.tess-skin-gold .tess-inspinia5-shell .nicetable--page-header > *:not(.nicetable-sticky-clone),
body.tess-photo-chrome.tess-inspinia5-body .tess-inspinia5-shell .nicetable--page-header > *:not(.nicetable-sticky-clone) {
    position: relative;
    z-index: 1;
}

body.tess-inspinia5-body.tess-skin-gold .tess-inspinia5-navbar .tess-nav-page-icon {
    filter: sepia(0.35) saturate(1.25) hue-rotate(8deg);
}

body.tess-inspinia5-body.tess-skin-gold .tess-inspinia5-shell #contactplaceholder,
body.tess-photo-chrome.tess-inspinia5-body .tess-inspinia5-shell #contactplaceholder,
body.tess-inspinia5-body.tess-skin-gold .tess-inspinia5-shell .exhibition-admin[data-exhibition-list],
body.tess-photo-chrome.tess-inspinia5-body .tess-inspinia5-shell .exhibition-admin[data-exhibition-list],
body.tess-inspinia5-body.tess-skin-gold .tess-inspinia5-shell .nicetable--page-header,
body.tess-photo-chrome.tess-inspinia5-body .tess-inspinia5-shell .nicetable--page-header,
body.tess-inspinia5-body.tess-skin-gold .tess-inspinia5-shell .nicetable-title--page-header,
body.tess-photo-chrome.tess-inspinia5-body .tess-inspinia5-shell .nicetable-title--page-header {
    background: transparent !important;
    background-image: none !important;
}

body.tess-inspinia5-body.tess-skin-gold .tess-inspinia5-shell .nicetable--page-header table[class*="nicetablerows"],
body.tess-photo-chrome.tess-inspinia5-body .tess-inspinia5-shell .nicetable--page-header table[class*="nicetablerows"],
body.tess-inspinia5-body.tess-skin-gold .tess-inspinia5-shell .nicetable--page-header [class*="nicetable_rows_host"],
body.tess-photo-chrome.tess-inspinia5-body .tess-inspinia5-shell .nicetable--page-header [class*="nicetable_rows_host"] {
    background: rgba(255, 255, 255, 0.72) !important;
}

body.tess-inspinia5-body.tess-skin-gold .tess-inspinia5-shell .nicetable--page-header th[class*="nicetablehead"],
body.tess-photo-chrome.tess-inspinia5-body .tess-inspinia5-shell .nicetable--page-header th[class*="nicetablehead"] {
    background: rgba(248, 250, 252, 0.78) !important;
}

body.tess-photo-chrome.tess-inspinia5-body .tess-nicetable:not(.nicetable--page-header) {
    background-color: #fff;
    background-image: none;
    border-color: color-mix(in srgb, var(--tess-brand) 28%, #ddd);
    border-top: 2px solid var(--tess-brand);
}

body.tess-inspinia5-body.tess-skin-gold .tess-nicetable:not(.nicetable--page-header),
body.tess-photo-chrome.tess-inspinia5-body .tess-nicetable:not(.nicetable--page-header) {
    position: relative;
    overflow: hidden;
}

body.tess-inspinia5-body.tess-skin-gold .tess-nicetable:not(.nicetable--page-header)::before,
body.tess-photo-chrome.tess-inspinia5-body .tess-nicetable:not(.nicetable--page-header)::before {
    content: "";
    position: absolute;
    top: -28%;
    right: -18%;
    width: min(72%, 520px);
    aspect-ratio: 1;
    pointer-events: none;
    z-index: 0;
    background-color: var(--tess-brand, #c4a265);
    opacity: 0.14;
    -webkit-mask-image: var(--tess-petals-mask);
    mask-image: var(--tess-petals-mask);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

body.tess-inspinia5-body.tess-skin-gold .tess-nicetable:not(.nicetable--page-header) > *,
body.tess-photo-chrome.tess-inspinia5-body .tess-nicetable:not(.nicetable--page-header) > * {
    position: relative;
    z-index: 1;
}

body.tess-photo-chrome.tess-inspinia5-body .tess-nicetable:not(.nicetable--page-header) > [class*="nicetabletitle"] {
    background-color: rgba(255, 252, 247, 0.72);
}

body.tess-photo-chrome.tess-inspinia5-body .tess-nicetable [class*="nicetablefooter"] {
    background-color: rgba(255, 252, 247, 0.82);
}
