:root {
    --ex-bg: #f7f5f4;
    --ex-surface: #ffffff;
    --ex-ink: #101827;
    --ex-text: #303645;
    --ex-muted: #6b7280;
    --ex-border: #e1dbd8;
    --ex-brand: #8e0000;
    --ex-brand-dark: #570303;
    --ex-brand-soft: #fbeaea;
    --ex-green: #3c7a4b;
    --ex-green-soft: #e5f0e7;
}

/* VE-01 — platform-owned 360 virtual exhibition rooms. */
.z4-artist-dashboard-tabs, .z4-ve-tabs { align-items: center; display: flex; gap: 6px; margin: 16px 0 24px; max-width: 100%; overflow-x: auto; padding: 4px; scrollbar-width: thin; }
.z4-artist-dashboard-tabs a, .z4-ve-tabs a { border: 1px solid transparent; border-radius: 999px; color: var(--ex-muted); flex: 0 0 auto; font-size: 13px; font-weight: 750; padding: 9px 14px; text-decoration: none; }
.z4-artist-dashboard-tabs a:hover, .z4-artist-dashboard-tabs a:focus-visible, .z4-ve-tabs a:hover, .z4-ve-tabs a:focus-visible { border-color: var(--ex-border); color: var(--ex-brand-dark); }
.z4-artist-dashboard-tabs a.is-active, .z4-ve-tabs a.is-active { background: var(--ex-brand-dark); color: #fff; }
.z4-artist-dashboard-tabs span { background: rgba(255,255,255,.18); border-radius: 999px; margin-inline-start: 4px; padding: 2px 6px; }

/* Artist workspace navigation mirrors the established artist portal while
   remaining fully owned by the Exhibitions module. */
@media (min-width: 769px) {
    body:has(.z4-artist-dashboard) > .min-h-screen.bg-gray-100,
    body:has(.z4-artist-dashboard) .min-h-screen.bg-gray-100 {
        padding-left: 250px !important;
    }

    body:has(.z4-artist-dashboard) nav.z4-admin-nav > aside.z4-admin-sidebar {
        display: none !important;
    }
}

.z4-artist-dashboard-sidebar {
    background: #690707;
    bottom: 0;
    box-shadow: 12px 0 32px rgba(45, 0, 0, .12);
    color: #fff;
    display: flex;
    flex-direction: column;
    left: 0;
    position: fixed;
    top: 64px;
    width: 250px;
    z-index: 920;
}

/* The core theme applies a generic white surface to every aside nested in
   main. Keep the artist navigation visually owned by this module. */
html body:has(.z4-artist-dashboard) main aside.z4-artist-dashboard-sidebar {
    background: #690707 !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: #fff !important;
}

.z4-artist-dashboard-sidebar-nav {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 2px;
    overflow-y: auto;
    padding: 14px 8px;
}

.z4-artist-dashboard-sidebar-nav a {
    align-items: center;
    border-radius: 6px;
    color: rgba(255,255,255,.76);
    display: grid;
    font-size: 13px;
    gap: 12px;
    grid-template-columns: 22px minmax(0,1fr) auto;
    min-height: 38px;
    padding: 8px 16px;
    text-decoration: none;
    transition: background-color .16s ease, color .16s ease;
}

html body:has(.z4-artist-dashboard) .z4-artist-dashboard-sidebar-nav a {
    background-color: transparent !important;
    color: rgba(255,255,255,.76) !important;
}

.z4-artist-dashboard-sidebar-nav a:hover,
.z4-artist-dashboard-sidebar-nav a:focus-visible {
    background: rgba(255,255,255,.08);
    color: #fff;
    outline: none;
}

html body:has(.z4-artist-dashboard) .z4-artist-dashboard-sidebar-nav a:hover,
html body:has(.z4-artist-dashboard) .z4-artist-dashboard-sidebar-nav a:focus-visible,
html body:has(.z4-artist-dashboard) .z4-artist-dashboard-sidebar-nav a.is-active {
    background-color: rgba(255,255,255,.1) !important;
    color: #fff !important;
}

.z4-artist-dashboard-sidebar-nav a.is-active {
    background: rgba(255,255,255,.1);
    color: #fff;
}

.z4-artist-dashboard-sidebar-nav a > span {
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
}

html body:has(.z4-artist-dashboard) .z4-artist-dashboard-sidebar-nav a > span,
html body:has(.z4-artist-dashboard) .z4-artist-dashboard-sidebar-nav a > strong,
html body:has(.z4-artist-dashboard) .z4-artist-dashboard-sidebar-nav a > b {
    color: inherit !important;
}

.z4-artist-dashboard-sidebar-nav a > strong {
    font-weight: 550;
    min-width: 0;
}

.z4-artist-dashboard-sidebar-nav a.is-active > strong {
    font-weight: 800;
}

.z4-artist-dashboard-sidebar-nav a > b {
    background: rgba(255,255,255,.14);
    border-radius: 999px;
    font-size: 10px;
    line-height: 20px;
    min-width: 20px;
    padding: 0 6px;
    text-align: center;
}

.z4-artist-dashboard-sidebar-subnav {
    border-inline-start: 1px solid rgba(255,255,255,.2);
    display: grid;
    gap: 2px;
    margin: 0 8px 6px 22px;
    padding-inline-start: 6px;
}

.z4-artist-dashboard-sidebar-nav .z4-artist-dashboard-sidebar-subnav a {
    color: #fff !important;
    font-size: 11px;
    grid-template-columns: minmax(0,1fr) auto;
    min-height: 34px;
    padding: 7px 10px;
}

.z4-artist-dashboard-sidebar-nav .z4-artist-dashboard-sidebar-subnav a > strong,
.z4-artist-dashboard-sidebar-nav .z4-artist-dashboard-sidebar-subnav a > b {
    color: #fff !important;
}

html body:has(.z4-artist-dashboard) main .z4-artist-dashboard-sidebar-nav .z4-artist-dashboard-sidebar-subnav a,
html body:has(.z4-artist-dashboard) main .z4-artist-dashboard-sidebar-nav .z4-artist-dashboard-sidebar-subnav a > strong,
html body:has(.z4-artist-dashboard) main .z4-artist-dashboard-sidebar-nav .z4-artist-dashboard-sidebar-subnav a > b {
    color: #fff !important;
}

.z4-artist-dashboard-sidebar-nav .z4-artist-dashboard-sidebar-subnav a > strong {
    line-height: 1.3;
}

.z4-artist-dashboard-sidebar-footer {
    border-top: 1px solid rgba(255,255,255,.14);
    display: grid;
    gap: 4px;
    padding: 14px 16px 18px;
}

.z4-artist-dashboard-sidebar-footer a,
.z4-artist-dashboard-sidebar-footer button {
    background: transparent;
    border: 0;
    border-radius: 6px;
    color: rgba(255,255,255,.78);
    cursor: pointer;
    display: block;
    font: inherit;
    font-size: 13px;
    padding: 9px 10px;
    text-align: left;
    text-decoration: none;
    width: 100%;
}

html body:has(.z4-artist-dashboard) .z4-artist-dashboard-sidebar-footer a,
html body:has(.z4-artist-dashboard) .z4-artist-dashboard-sidebar-footer button {
    background: transparent !important;
    border: 0 !important;
    color: rgba(255,255,255,.78) !important;
}

.z4-artist-dashboard-sidebar-footer a:hover,
.z4-artist-dashboard-sidebar-footer button:hover,
.z4-artist-dashboard-sidebar-footer a:focus-visible,
.z4-artist-dashboard-sidebar-footer button:focus-visible {
    background: rgba(255,255,255,.08);
    color: #fff;
    outline: none;
}

.z4-artist-dashboard-sidebar-footer form { margin: 0; }

@media (max-width: 768px) {
    .z4-artist-dashboard-sidebar {
        border-radius: 12px;
        bottom: auto;
        box-shadow: none;
        margin: 14px 0 22px;
        position: static;
        width: 100%;
    }

    .z4-artist-dashboard-sidebar-nav {
        flex-direction: row;
        overflow-x: auto;
        padding: 8px;
        scrollbar-width: none;
    }

    .z4-artist-dashboard-sidebar-nav::-webkit-scrollbar { display: none; }
    .z4-artist-dashboard-sidebar-nav a { flex: 0 0 auto; grid-template-columns: 18px auto auto; padding-inline: 12px; }
    .z4-artist-dashboard-sidebar-subnav { border: 0; display: flex; flex: 0 0 auto; margin: 0; padding: 0; }
    .z4-artist-dashboard-sidebar-nav .z4-artist-dashboard-sidebar-subnav a { grid-template-columns: auto auto; }
    .z4-artist-dashboard-sidebar-footer { display: none; }
}
.z4-ve-room-list { display: grid; gap: 0; padding: 0; }
.z4-ve-room-row { align-items: center; border-bottom: 1px solid var(--ex-border); display: grid; gap: 22px; grid-template-columns: minmax(220px, 1fr) minmax(360px, 1.4fr) auto; padding: 22px; }
.z4-ve-room-row:last-child { border-bottom: 0; }
.z4-ve-room-row h2 { font-size: 19px; margin: 8px 0 4px; }
.z4-ve-room-row p, .z4-ve-room-row dt { color: var(--ex-muted); font-size: 12px; }
.z4-ve-room-row dl { display: grid; gap: 10px; grid-template-columns: repeat(2,minmax(0,1fr)); margin: 0; }
.z4-ve-room-row dl div { background: #fcfaf9; border-radius: 10px; padding: 10px; }
.z4-ve-room-row dd { font-size: 12px; font-weight: 750; margin: 3px 0 0; }
.z4-ve-actions { display: flex; flex-direction: column; gap: 7px; }
.z4-ve-actions a { color: var(--ex-brand); font-size: 12px; font-weight: 750; }
.z4-ve-form { display: grid; gap: 18px; grid-template-columns: repeat(2,minmax(0,1fr)); }
.z4-ve-form > label { color: var(--ex-ink); display: grid; font-size: 12px; font-weight: 750; gap: 7px; }
.z4-ve-form input, .z4-ve-form select, .z4-ve-form textarea, .z4-ve-filter select { background: #fff; border: 1px solid var(--ex-border); border-radius: 9px; color: var(--ex-ink); min-height: 44px; padding: 10px 12px; width: 100%; }
.z4-ve-form textarea { resize: vertical; }
.z4-ve-form .is-wide, .z4-ve-form > header { grid-column: 1 / -1; }
.z4-ve-checkbox { align-items: center; display: flex !important; grid-auto-flow: column; justify-content: start; }
.z4-ve-checkbox input { min-height: 18px; width: 18px; }
.z4-ve-form-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 16px; }
.z4-ve-layout-page { max-width: 1600px; }
.z4-ve-layout-grid, .z4-ve-review-grid { align-items: start; display: grid; gap: 22px; grid-template-columns: minmax(300px,.72fr) minmax(420px,1.28fr); margin-top: 22px; }
.z4-ve-slot-stack { display: grid; gap: 16px; }
.z4-ve-slot-stack form header { align-items: center; display: flex; justify-content: space-between; }
.z4-ve-slot-stack form header span { color: var(--ex-muted); font-size: 11px; }
.z4-ve-slot-stack form header h2 { margin: 3px 0; }
.z4-ve-viewer { background: #101112; border-radius: 20px; box-shadow: 0 20px 55px rgba(31,19,16,.22); min-height: 360px; overflow: hidden; position: relative; width: 100%; }
.z4-ve-viewer canvas { cursor: grab; display: block; height: clamp(360px,66vh,760px); outline: 0; touch-action: none; width: 100%; }
.z4-ve-viewer canvas:active { cursor: grabbing; }
.z4-ve-viewer canvas:focus-visible { box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 7px var(--ex-brand); }
.z4-ve-viewer:fullscreen, .z4-ve-viewer:fullscreen canvas { border-radius: 0; height: 100%; width: 100%; }
.z4-ve-overlays { inset: 0; overflow: hidden; pointer-events: none; position: absolute; }
.z4-ve-artwork-plane { background: #f8f2ed; border: 5px solid #35241d; box-shadow: 0 10px 32px rgba(0,0,0,.48); cursor: pointer; min-height: 36px; padding: 0; pointer-events: auto; position: absolute; transform-origin: center; }
.z4-ve-artwork-plane:hover, .z4-ve-artwork-plane:focus-visible { box-shadow: 0 0 0 4px #fff, 0 0 0 8px var(--ex-brand), 0 12px 35px rgba(0,0,0,.5); z-index: 4; }
.z4-ve-artwork-plane img { height: 100%; object-fit: contain; pointer-events: none; width: 100%; }
.z4-ve-artwork-plane > span { background: #7e1d1d; border-radius: 999px; color: #fff; font-size: 11px; font-weight: 800; inset: 8px 8px auto auto; padding: 4px 8px; position: absolute; }
.z4-ve-artwork-plane.is-slot { align-items: center; background: rgba(255,255,255,.12); border: 2px dashed rgba(255,255,255,.88); color: #fff; display: flex; justify-content: center; min-height: 70px; text-shadow: 0 1px 3px #000; }
.z4-ve-artwork-plane.is-slot strong { font-size: 11px; padding: 8px; }
.z4-ve-loading, .z4-ve-error { align-items: center; background: #17191a; color: #fff; display: flex; flex-direction: column; gap: 12px; inset: 0; justify-content: center; padding: 30px; position: absolute; text-align: center; z-index: 6; }
.z4-ve-loading[hidden], .z4-ve-error[hidden] { display: none; }
.z4-ve-loading span { animation: z4-ve-spin .8s linear infinite; border: 3px solid rgba(255,255,255,.22); border-top-color: #fff; border-radius: 50%; height: 32px; width: 32px; }
.z4-ve-error button { background: #fff; border: 0; border-radius: 9px; color: #17191a; font-weight: 750; padding: 10px 16px; }
@keyframes z4-ve-spin { to { transform: rotate(360deg); } }
.z4-ve-controls { bottom: max(14px,env(safe-area-inset-bottom)); display: flex; gap: 7px; inset-inline-end: max(14px,env(safe-area-inset-right)); position: absolute; z-index: 7; }
.z4-ve-controls button { align-items: center; background: rgba(16,17,18,.78); border: 1px solid rgba(255,255,255,.28); border-radius: 10px; color: #fff; display: flex; font-size: 19px; height: 44px; justify-content: center; width: 44px; }
.z4-ve-controls button:hover, .z4-ve-controls button:focus-visible { background: #fff; color: #17191a; }
.z4-ve-public-room { background: #141516; min-height: 100vh; padding: 18px clamp(10px,2vw,32px) 50px; }
.z4-ve-public-header { align-items: end; color: #fff; display: flex; gap: 30px; justify-content: space-between; margin: 0 auto 18px; max-width: 1600px; }
.z4-ve-public-header span { color: #d7b7aa; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.z4-ve-public-header h1 { font-size: clamp(26px,4vw,54px); margin: 5px 0; }
.z4-ve-public-header p { color: #c9c7c5; margin: 0; }
.z4-ve-public-header a { color: #fff; flex: 0 0 auto; font-weight: 750; }
.z4-ve-public-room > .z4-ve-viewer { margin-inline: auto; max-width: 1600px; }
.z4-ve-instructions { color: #aaa6a3; font-size: 12px; margin: 12px auto 20px; max-width: 1600px; text-align: center; }
.z4-ve-dialog { background: #fff; border: 0; border-radius: 18px; box-shadow: 0 26px 80px rgba(0,0,0,.48); color: var(--ex-ink); max-height: min(90vh,900px); max-width: min(980px,calc(100vw - 28px)); overflow: auto; padding: 0; width: 100%; }
.z4-ve-dialog::backdrop { background: rgba(8,9,10,.78); backdrop-filter: blur(5px); }
.z4-ve-dialog[open] { display: grid; grid-template-columns: minmax(280px,.9fr) minmax(320px,1.1fr); }
.z4-ve-dialog-art { align-items: center; background: #eee9e5; display: flex; justify-content: center; min-height: 420px; padding: 30px; }
.z4-ve-dialog-art img { max-height: 68vh; max-width: 100%; object-fit: contain; }
.z4-ve-dialog-copy { padding: clamp(28px,5vw,58px); }
.z4-ve-dialog-copy h2 { font-size: clamp(25px,3vw,40px); margin: 12px 0 4px; }
.z4-ve-artist { color: var(--ex-brand); font-weight: 750; }
.z4-ve-dialog-copy dl { border-block: 1px solid var(--ex-border); display: grid; gap: 12px; grid-template-columns: repeat(2,minmax(0,1fr)); margin: 22px 0; padding: 18px 0; }
.z4-ve-dialog-copy dt { color: var(--ex-muted); font-size: 11px; }
.z4-ve-dialog-copy dd { font-size: 13px; font-weight: 750; margin: 4px 0 0; }
.z4-ve-dialog-close { background: rgba(0,0,0,.7); border: 0; border-radius: 50%; color: #fff; font-size: 25px; height: 44px; inset: 12px 12px auto auto; position: absolute; width: 44px; z-index: 2; }
.z4-ve-purchase { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 15px; }
.z4-ve-purchase form { display: grid; gap: 7px; }
.z4-ve-purchase [data-purchase-error] { color: #9b1c1c; font-size: 11px; max-width: 220px; }
.z4-ve-fallback { background: #fff; border-radius: 14px; margin: 24px auto 0; max-width: 1600px; padding: 15px 18px; }
.z4-ve-fallback summary { cursor: pointer; font-weight: 750; }
.z4-ve-fallback-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill,minmax(190px,1fr)); padding-top: 18px; }
.z4-ve-fallback-grid article { border: 1px solid var(--ex-border); border-radius: 12px; overflow: hidden; padding: 12px; }
.z4-ve-fallback-grid img { aspect-ratio: 4/3; object-fit: contain; width: 100%; }
.z4-ve-fallback-grid h2 { font-size: 16px; }
.z4-ve-room-cards { display: grid; gap: 15px; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); }
.z4-ve-room-cards article { background: #fcfaf9; border: 1px solid var(--ex-border); border-radius: 13px; padding: 20px; }
.z4-ve-room-cards article > span { color: var(--ex-brand); font-size: 11px; font-weight: 800; }
.z4-ve-room-cards h3 { font-size: 20px; margin: 8px 0; }
.z4-ve-placement-entry { align-items: center; background: linear-gradient(135deg, #fff9f7, #f7eeeb); border: 1px solid var(--ex-border); border-radius: 14px; display: flex; gap: 22px; justify-content: space-between; padding: 22px; }
.z4-ve-placement-entry strong { color: var(--ex-ink); display: block; font-size: 18px; }
.z4-ve-hall-capacity { background: #f5dfda; border: 1px solid #efc5bd; border-radius: 999px; color: #8f0000; display: inline-flex; font-size: 12px; font-weight: 800; margin-top: 9px; padding: 5px 10px; }
.z4-ve-placement-entry p { color: var(--ex-muted); margin: 5px 0 0; }
.z4-ve-placement-entry .z4-exhibitions-button { flex: 0 0 auto; }
.z4-ve-removal-reason { margin: 0; max-width: 42rem; white-space: normal; }
.z4-exhibitions-status.is-pending { background: #fff7df; color: #775b08; }
.z4-exhibitions-status.is-blocked { background: #fff0ef; color: #8c1d18; }
.z4-ve-republish-cell { min-width: 320px; white-space: normal; }
.z4-ve-republish-cell > p { margin: 8px 0; }
.z4-ve-republish-form { display: grid; gap: 9px; margin-top: 10px; }
.z4-ve-republish-form label { display: grid; font-size: 12px; font-weight: 750; gap: 5px; }
.z4-ve-republish-form textarea { border: 1px solid var(--ex-border); border-radius: 9px; min-height: 84px; padding: 9px; resize: vertical; width: 100%; }
[data-artist-virtual-exhibition] .z4-exhibitions-table form { margin: 0; }
.z4-table-scroll { max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; padding-bottom: 4px; scrollbar-color: #a32929 #f2e8e4; scrollbar-gutter: stable; -webkit-overflow-scrolling: touch; }
[data-artist-virtual-exhibition] .z4-ve-artist-table.is-published { min-width: 880px; }
[data-artist-virtual-exhibition] .z4-ve-artist-table.is-published th:nth-child(1) { width: 16%; }
[data-artist-virtual-exhibition] .z4-ve-artist-table.is-published th:nth-child(2) { width: 29%; }
[data-artist-virtual-exhibition] .z4-ve-artist-table.is-published th:nth-child(3) { width: 13%; }
[data-artist-virtual-exhibition] .z4-ve-artist-table.is-published th:nth-child(4) { width: 15%; }
[data-artist-virtual-exhibition] .z4-ve-artist-table.is-published th:nth-child(5) { width: 27%; }
[data-artist-virtual-exhibition] .z4-ve-artist-table.is-published td:last-child { min-width: 0; }
[data-artist-virtual-exhibition] .z4-ve-artist-table.is-published td:last-child .z4-exhibitions-button { line-height: 1.25; min-width: 0; white-space: normal; width: 100%; }
[data-artist-virtual-exhibition] .z4-ve-artist-table.is-removed { min-width: 980px; }
[data-artist-virtual-exhibition] .z4-exhibitions-table .z4-exhibitions-button.is-danger { background: #fff0ef !important; border: 1px solid #e8b9b5 !important; color: #8c1d18 !important; -webkit-text-fill-color: #8c1d18 !important; }
[data-artist-virtual-exhibition] .z4-exhibitions-table .z4-exhibitions-button.is-danger:hover,
[data-artist-virtual-exhibition] .z4-exhibitions-table .z4-exhibitions-button.is-danger:focus-visible { background: #8c1d18 !important; border-color: #8c1d18 !important; color: #fff !important; -webkit-text-fill-color: #fff !important; }
html body:has([data-artist-virtual-exhibition]) nav.z4-admin-nav > aside.z4-admin-sidebar .z4-admin-section-body > a.z4-admin-link,
html body:has([data-artist-virtual-exhibition]) .z4-mobile-drawer a.z4-mobile-link { height: auto !important; min-height: 44px !important; padding-block: 10px !important; }
body:has([data-artist-virtual-exhibition]) .z4-artist-dashboard-tabs a { min-height: 44px; }
.z4-ve-admin-remove { align-items: center; display: flex; gap: 8px; min-width: 300px; }
.z4-ve-admin-remove label { flex: 1; }
.z4-ve-admin-remove input { border: 1px solid var(--ex-border); border-radius: 9px; min-height: 42px; padding: 8px 10px; width: 100%; }
.z4-ve-admin-remove .is-danger { background: #fff0ef; border: 1px solid #e8b9b5; color: #8c1d18; }
[data-ve-published-artworks] .z4-ve-published-table { min-width: 900px; table-layout: fixed; }
[data-ve-published-artworks] .z4-ve-published-table.is-current th:nth-child(1) { width: 16%; }
[data-ve-published-artworks] .z4-ve-published-table.is-current th:nth-child(2) { width: 14%; }
[data-ve-published-artworks] .z4-ve-published-table.is-current th:nth-child(3) { width: 23%; }
[data-ve-published-artworks] .z4-ve-published-table.is-current th:nth-child(4) { width: 14%; }
[data-ve-published-artworks] .z4-ve-published-table.is-current th:nth-child(5) { width: 33%; }
[data-ve-published-artworks] .z4-ve-published-table th,
[data-ve-published-artworks] .z4-ve-published-table td { min-width: 0; overflow-wrap: anywhere; vertical-align: middle; }
[data-ve-published-artworks] .z4-ve-admin-remove { display: grid; grid-template-columns: minmax(150px,1fr) auto; min-width: 0; width: 100%; }
[data-ve-published-artworks] .z4-ve-admin-remove label { min-width: 0; }
[data-ve-published-artworks] .z4-ve-admin-remove input { min-width: 0; }
[data-ve-published-artworks] .z4-ve-admin-remove .z4-exhibitions-button.is-danger { background: #fff0ef !important; border: 1px solid #e8b9b5 !important; color: #8c1d18 !important; min-height: 44px; min-width: 86px; -webkit-text-fill-color: #8c1d18 !important; }
[data-ve-published-artworks] .z4-ve-admin-remove .z4-exhibitions-button.is-danger:hover,
[data-ve-published-artworks] .z4-ve-admin-remove .z4-exhibitions-button.is-danger:focus-visible { background: #8c1d18 !important; border-color: #8c1d18 !important; color: #fff !important; -webkit-text-fill-color: #fff !important; }
.z4-ve-admin-review { display: grid; gap: 8px; margin-top: 10px; min-width: 320px; }
.z4-ve-admin-review select, .z4-ve-admin-review input { border: 1px solid var(--ex-border); border-radius: 9px; min-height: 42px; padding: 8px 10px; width: 100%; }
.z4-ve-room-intro { align-items: center; display: flex; justify-content: space-between; margin: 0 0 18px; }
.z4-ve-room-intro h2 { margin: 3px 0; }
.z4-ve-filter { align-items: end; display: flex; gap: 10px; margin-bottom: 16px; }
.z4-ve-filter label { color: var(--ex-muted); display: grid; font-size: 11px; gap: 5px; min-width: 220px; }
.z4-ve-timeline { border-inline-start: 2px solid var(--ex-border); display: grid; gap: 18px; list-style: none; margin: 20px 0 0 8px; padding: 0 0 0 22px; }
.z4-ve-timeline li { position: relative; }
.z4-ve-timeline li::before { background: var(--ex-brand); border: 3px solid #fff; border-radius: 50%; content: ''; height: 13px; inset: 4px auto auto -30px; position: absolute; width: 13px; }
.z4-ve-timeline span { color: var(--ex-muted); display: block; font-size: 11px; }
.z4-ve-timeline p { font-size: 12px; margin: 4px 0; }

@media (max-width: 900px) {
    .z4-ve-room-row, .z4-ve-layout-grid, .z4-ve-review-grid { grid-template-columns: 1fr; }
    .z4-ve-room-row dl { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .z4-ve-actions { flex-direction: row; flex-wrap: wrap; }
    .z4-ve-dialog[open] { grid-template-columns: 1fr; }
    .z4-ve-dialog-art { min-height: 260px; }
    .z4-ve-placement-entry { align-items: stretch; flex-direction: column; }
}
@media (max-width: 520px) {
    .z4-ve-form { grid-template-columns: 1fr; }
    .z4-ve-form .is-wide, .z4-ve-form > header { grid-column: auto; }
    .z4-ve-viewer, .z4-ve-viewer canvas { border-radius: 12px; height: min(70vh,560px); min-height: 430px; }
    .z4-ve-controls { display: grid; grid-template-columns: repeat(2,44px); }
    .z4-ve-public-header { align-items: start; flex-direction: column; gap: 12px; }
    .z4-ve-public-room { padding-inline: 8px; }
    .z4-ve-dialog { border-radius: 14px; max-height: calc(100vh - 16px); max-width: calc(100vw - 16px); }
    .z4-ve-dialog-copy { padding: 24px 18px max(24px,env(safe-area-inset-bottom)); }
    .z4-ve-dialog-copy dl { grid-template-columns: 1fr; }
    .z4-ve-dialog-close { inset: 10px 10px auto auto; }
    .z4-ve-purchase, .z4-ve-purchase form, .z4-ve-purchase button { width: 100%; }
    .z4-ve-room-row { padding: 16px; }
    .z4-ve-room-row dl { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
    [data-artist-virtual-exhibition] .z4-table-scroll { overflow: visible; padding-bottom: 0; }
    [data-artist-virtual-exhibition] .z4-ve-artist-table { display: block; min-width: 0 !important; table-layout: auto; width: 100%; }
    [data-artist-virtual-exhibition] .z4-ve-artist-table thead { clip: rect(0 0 0 0); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px; }
    [data-artist-virtual-exhibition] .z4-ve-artist-table tbody { display: grid; gap: 12px; }
    [data-artist-virtual-exhibition] .z4-ve-artist-table tr { background: #fff; border: 1px solid var(--ex-border); border-radius: 13px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); overflow: hidden; padding: 8px 12px; }
    [data-artist-virtual-exhibition] .z4-ve-artist-table td { border-bottom: 1px solid #eee9e7; min-width: 0; overflow-wrap: anywhere; padding: 11px 8px; }
    [data-artist-virtual-exhibition] .z4-ve-artist-table td::before { color: var(--ex-muted); content: attr(data-label); display: block; font-size: 10px; font-weight: 800; letter-spacing: .05em; margin-bottom: 5px; text-transform: uppercase; }
    [data-artist-virtual-exhibition] .z4-ve-artist-table td:first-child,
    [data-artist-virtual-exhibition] .z4-ve-artist-table td:nth-child(2),
    [data-artist-virtual-exhibition] .z4-ve-artist-table td:last-child { grid-column: 1 / -1; }
    [data-artist-virtual-exhibition] .z4-ve-artist-table td:last-child { border-bottom: 0; }
    [data-artist-virtual-exhibition] .z4-ve-artist-table.is-removed td:nth-child(4) { grid-column: 1 / -1; }
    [data-artist-virtual-exhibition] .z4-ve-republish-cell { min-width: 0; }
    [data-artist-virtual-exhibition] .z4-ve-artist-table .z4-exhibitions-button { min-height: 46px; width: 100%; }
    [data-ve-published-artworks] .z4-table-scroll { overflow: visible; padding-bottom: 0; }
    [data-ve-published-artworks] .z4-ve-published-table { display: block; min-width: 0; table-layout: auto; width: 100%; }
    [data-ve-published-artworks] .z4-ve-published-table thead { clip: rect(0 0 0 0); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px; }
    [data-ve-published-artworks] .z4-ve-published-table tbody { display: grid; gap: 12px; }
    [data-ve-published-artworks] .z4-ve-published-table tr { background: #fff; border: 1px solid var(--ex-border); border-radius: 13px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); overflow: hidden; padding: 8px 12px; }
    [data-ve-published-artworks] .z4-ve-published-table td { border-bottom: 1px solid #eee9e7; display: block; min-width: 0; padding: 11px 8px; }
    [data-ve-published-artworks] .z4-ve-published-table td::before { color: var(--ex-muted); content: attr(data-label); display: block; font-size: 10px; font-weight: 800; letter-spacing: .05em; margin-bottom: 5px; text-transform: uppercase; }
    [data-ve-published-artworks] .z4-ve-published-table td:first-child,
    [data-ve-published-artworks] .z4-ve-published-table td:nth-child(3),
    [data-ve-published-artworks] .z4-ve-published-table td:last-child { grid-column: 1 / -1; }
    [data-ve-published-artworks] .z4-ve-published-table td:last-child { border-bottom: 0; }
    [data-ve-published-artworks] .z4-ve-admin-remove { grid-template-columns: 1fr; }
    [data-ve-published-artworks] .z4-ve-admin-remove .z4-exhibitions-button.is-danger { width: 100%; }
}

/* Database-backed public artwork detail */
.z4-public-artwork-detail { --pa-brand: #990b0b; --pa-brand-dark: #690606; --pa-border: #e4d8d3; --pa-muted: #71656c; background: #fcfaf8; color: #171316; min-height: 100vh; padding: 22px 20px 72px; }
.z4-public-artwork-container { margin: 0 auto; max-width: 1480px; }
.z4-public-breadcrumb { align-items: center; color: var(--pa-muted); display: flex; flex-wrap: wrap; font-size: 13px; gap: 9px; margin: 0 0 20px; }
.z4-public-breadcrumb a { color: inherit; text-decoration: none; }
.z4-public-breadcrumb strong { color: #342b30; font-weight: 650; }
.z4-public-artwork-hero { align-items: start; display: grid; gap: clamp(28px, 4vw, 60px); grid-template-columns: minmax(0, 1.1fr) minmax(390px, .9fr); }
.z4-public-gallery { min-width: 0; }
.z4-public-gallery-main { align-items: center; aspect-ratio: 1.22 / 1; background: #eee9e5; border-radius: 13px; display: flex; justify-content: center; overflow: hidden; position: relative; }
.z4-public-gallery-main > img { height: 100%; object-fit: contain; width: 100%; }
.z4-public-gallery-main > a { align-items: center; background: #fff; border: 1px solid var(--pa-border); border-radius: 50%; color: #20191d; display: flex; font-size: 23px; height: 48px; justify-content: center; position: absolute; right: 16px; text-decoration: none; top: 16px; width: 48px; }
.z4-public-gallery-empty { color: var(--pa-muted); padding: 30px; text-align: center; }
.z4-public-thumbnails { display: grid; gap: 13px; grid-auto-columns: minmax(84px, 112px); grid-auto-flow: column; justify-content: center; margin-top: 16px; overflow-x: auto; padding: 3px 2px 8px; }
.z4-public-thumbnails button { aspect-ratio: 1; background: #eee9e5; border: 2px solid transparent; border-radius: 10px; cursor: pointer; overflow: hidden; padding: 0; }
.z4-public-thumbnails button.is-active { border-color: var(--pa-brand); }
.z4-public-thumbnails img { height: 100%; object-fit: cover; width: 100%; }
.z4-public-purchase-card { display: grid; gap: 14px; padding-top: 2px; }
.z4-public-title-actions { align-items: center; display: flex; gap: 18px; justify-content: space-between; }
.z4-public-title-actions > div:last-child { display: flex; gap: 8px; }
.z4-public-title-actions button { background: transparent; border: 0; color: #2c2328; cursor: pointer; font-size: 13px; min-height: 38px; padding: 7px 9px; }
.z4-public-title-actions [data-artwork-favorite] { font-size: 28px; line-height: 1; }
.z4-public-title-actions [data-artwork-favorite][aria-pressed="true"] { color: var(--pa-brand); }
.z4-public-badges { display: flex; flex-wrap: wrap; gap: 9px; }
.z4-public-badges span { background: #f9e9e7; border-radius: 999px; color: #7c1b1b; font-size: 12px; padding: 9px 14px; }
.z4-public-badges span.is-availability { background: #e6f5ea; color: #176f3d; }
.z4-public-purchase-card h1 { font-size: clamp(38px, 5vw, 60px); font-weight: 520; letter-spacing: -.035em; line-height: 1.04; margin: 2px 0 -3px; }
.z4-public-byline, .z4-public-summary { margin: 0; }
.z4-public-byline strong { color: var(--pa-brand); }
.z4-public-price { font-size: clamp(27px, 3vw, 36px); font-weight: 650; margin: 0; }
.z4-public-summary { line-height: 1.62; max-width: 760px; }
.z4-public-key-facts { border: 1px solid var(--pa-border); border-radius: 11px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 2px 0 0; overflow: hidden; }
.z4-public-key-facts > div { border-bottom: 1px solid var(--pa-border); min-height: 68px; padding: 12px 15px; }
.z4-public-key-facts > div:nth-child(odd) { border-right: 1px solid var(--pa-border); }
.z4-public-key-facts > div:nth-last-child(-n+2) { border-bottom: 0; }
.z4-public-key-facts dt { color: var(--pa-muted); font-size: 12px; margin-bottom: 6px; }
.z4-public-key-facts dd { font-size: 14px; margin: 0; }
.z4-public-purchase-actions { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.z4-public-purchase-actions form { margin: 0; }
.z4-public-purchase-actions button, .z4-public-purchase-actions a, .z4-public-outline-button, .z4-public-inquiry button { align-items: center; border: 1px solid var(--pa-brand); border-radius: 7px; display: flex; font-weight: 750; justify-content: center; min-height: 52px; padding: 12px 20px; text-decoration: none; width: 100%; }
.z4-public-purchase-actions button, .z4-public-inquiry button { background: var(--pa-brand); color: #fff; }
.z4-public-purchase-actions button:disabled { background: #d5cdca; border-color: #d5cdca; color: #625a57; cursor: not-allowed; }
.z4-public-purchase-actions a, .z4-public-outline-button { background: #fff; color: var(--pa-brand); }
.z4-public-trust-row { align-items: center; background: #f1ece8; border-radius: 7px; color: #51474c; display: flex; flex-wrap: wrap; font-size: 12px; gap: 10px 22px; justify-content: center; padding: 13px; }
.z4-public-trust-row span + span::before { color: var(--pa-brand); content: "•"; margin-right: 18px; }
.z4-public-share-status { color: #176f3d; font-size: 12px; margin: 0; min-height: 18px; }
.z4-public-artwork-body { align-items: start; display: grid; gap: 18px; grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr); margin-top: 30px; }
.z4-public-specifications, .z4-public-detail-tabs, .z4-public-proof-grid > article, .z4-public-inquiry, .z4-public-related article, .z4-public-empty-state { background: #fff; border: 1px solid var(--pa-border); border-radius: 13px; }
.z4-public-specifications { padding: 20px; }
.z4-public-specifications h2, .z4-public-proof-grid h2, .z4-public-inquiry h2 { font-size: 19px; margin: 0 0 16px; }
.z4-public-specifications dl { margin: 0; }
.z4-public-specifications dl > div { display: grid; font-size: 13px; grid-template-columns: minmax(110px, .75fr) minmax(0, 1.25fr); }
.z4-public-specifications dt, .z4-public-specifications dd { border-bottom: 1px solid var(--pa-border); margin: 0; padding: 9px 8px; }
.z4-public-specifications dt { color: #554b50; }
.z4-public-detail-tabs { overflow: hidden; }
.z4-public-tab-list { border-bottom: 1px solid var(--pa-border); display: flex; overflow-x: auto; padding: 0 14px; }
.z4-public-tab-list button { background: transparent; border: 0; border-bottom: 3px solid transparent; color: #5f555b; cursor: pointer; flex: 1 0 auto; font-size: 13px; min-height: 58px; padding: 12px 18px; }
.z4-public-tab-list button[aria-selected="true"] { border-color: var(--pa-brand); color: var(--pa-brand); font-weight: 800; }
.z4-public-detail-tabs [role="tabpanel"] { line-height: 1.72; min-height: 310px; padding: 24px; }
.z4-public-detail-tabs [role="tabpanel"] h3 { margin-top: 24px; }
.z4-public-visual-facts { border: 1px solid var(--pa-border); border-radius: 10px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 25px; }
.z4-public-visual-facts div { min-width: 0; padding: 18px 12px; text-align: center; }
.z4-public-visual-facts div + div { border-left: 1px solid var(--pa-border); }
.z4-public-visual-facts strong, .z4-public-visual-facts small { display: block; overflow-wrap: anywhere; }
.z4-public-visual-facts small { color: var(--pa-muted); margin-top: 6px; }
.z4-public-proof-grid { display: grid; gap: 18px; grid-template-columns: 1fr; margin-top: 18px; }
.z4-public-proof-grid > article { padding: 24px; }
.z4-public-proof-list { list-style: none; margin: 0; padding: 0; }
.z4-public-proof-list li { border-left: 2px solid var(--pa-brand); display: grid; gap: 3px; margin-left: 7px; padding: 2px 0 18px 20px; position: relative; }
.z4-public-proof-list li::before { background: var(--pa-brand); border: 3px solid #fff; border-radius: 50%; content: ""; height: 12px; left: -7px; position: absolute; top: 3px; width: 12px; }
.z4-public-proof-list li:last-child { padding-bottom: 2px; }
.z4-public-proof-list span, .z4-public-proof-grid p, .z4-public-proof-grid dd { color: var(--pa-muted); line-height: 1.6; }
.z4-public-proof-list li.is-empty { border-left-color: var(--pa-border); color: var(--pa-muted); }
.z4-public-proof-list li.is-empty::before { background: var(--pa-border); }
.z4-public-proof-grid dl { background: #faf7f5; border: 1px solid var(--pa-border); border-radius: 9px; margin: 20px 0 0; padding: 5px 14px; }
.z4-public-proof-grid dl > div { display: grid; grid-template-columns: 120px 1fr; padding: 10px 0; }
.z4-public-proof-grid dl > div + div { border-top: 1px solid var(--pa-border); }
.z4-public-proof-grid dt, .z4-public-proof-grid dd { margin: 0; }
.z4-public-inquiry { display: grid; gap: 30px; grid-template-columns: .75fr 1.25fr; margin-top: 18px; padding: 24px; }
.z4-public-inquiry p { color: var(--pa-muted); line-height: 1.6; margin: 0; }
.z4-public-inquiry form { display: grid; gap: 9px; }
.z4-public-inquiry label { font-size: 13px; font-weight: 750; }
.z4-public-inquiry textarea { border: 1px solid var(--pa-border); border-radius: 8px; min-height: 115px; padding: 13px; resize: vertical; width: 100%; }
.z4-public-inquiry button { justify-self: start; width: auto; }
.z4-public-related { margin-top: 30px; }
.z4-public-section-heading { align-items: center; display: flex; justify-content: space-between; margin-bottom: 14px; }
.z4-public-section-heading h2 { font-size: 21px; margin: 0; }
.z4-public-section-heading a { color: var(--pa-brand); font-size: 13px; text-decoration: none; }
.z4-public-related-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.z4-public-related article { display: grid; grid-template-columns: minmax(120px, .9fr) minmax(0, 1.1fr); overflow: hidden; }
.z4-public-related article > a { background: #eee9e5; min-height: 205px; }
.z4-public-related article img { height: 100%; object-fit: cover; width: 100%; }
.z4-public-related article > div { display: grid; gap: 8px; padding: 18px; }
.z4-public-related h3, .z4-public-related p { margin: 0; }
.z4-public-related h3 a { color: #1d171a; text-decoration: none; }
.z4-public-related p { color: var(--pa-muted); font-size: 13px; }
.z4-public-related .z4-public-outline-button { align-self: end; min-height: 40px; padding: 8px 12px; }
.z4-public-empty-state { color: var(--pa-muted); padding: 28px; text-align: center; }

@media (max-width: 1050px) {
    .z4-public-artwork-hero, .z4-public-artwork-body, .z4-public-proof-grid { grid-template-columns: 1fr; }
    .z4-public-gallery-main { max-height: 760px; }
    .z4-public-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
    .z4-public-artwork-detail { padding: 16px 12px 50px; }
    .z4-public-artwork-hero { gap: 22px; }
    .z4-public-purchase-card h1 { font-size: 38px; }
    .z4-public-key-facts, .z4-public-purchase-actions, .z4-public-inquiry, .z4-public-related-grid { grid-template-columns: 1fr; }
    .z4-public-key-facts > div, .z4-public-key-facts > div:nth-child(odd), .z4-public-key-facts > div:nth-last-child(-n+2) { border-bottom: 1px solid var(--pa-border); border-right: 0; }
    .z4-public-key-facts > div:last-child { border-bottom: 0; }
    .z4-public-trust-row { align-items: flex-start; flex-direction: column; }
    .z4-public-trust-row span + span::before { margin-right: 10px; }
    .z4-public-visual-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .z4-public-visual-facts div + div { border-left: 0; }
    .z4-public-visual-facts div:nth-child(even) { border-left: 1px solid var(--pa-border); }
    .z4-public-visual-facts div:nth-child(n+3) { border-top: 1px solid var(--pa-border); }
    .z4-public-inquiry { gap: 18px; }
    .z4-public-related article { grid-template-columns: minmax(115px, .8fr) minmax(0, 1.2fr); }
}

/* Exhibitions Settings v1.1 */
.z4-exhibitions-settings { background: var(--ex-bg); color: var(--ex-text); min-height: 100vh; padding: 28px 22px 84px; }
.z4-exhibitions-settings .z4-exhibitions-container { margin: 0 auto; max-width: 1480px; }
.z4-settings-heading { align-items: flex-start; display: flex; gap: 24px; justify-content: space-between; margin-bottom: 22px; }
.z4-settings-heading h1 { color: var(--ex-ink); font-size: clamp(30px, 4vw, 46px); letter-spacing: -.035em; line-height: 1.05; margin: 6px 0 8px; }
.z4-settings-heading p { color: var(--ex-muted); margin: 0; }
.z4-settings-unsaved { align-items: center; backdrop-filter: blur(12px); background: #fff8e6; border: 1px solid #e6c66c; border-radius: 12px; box-shadow: 0 12px 30px rgba(72, 45, 8, .12); display: flex; gap: 18px; justify-content: space-between; margin-bottom: 16px; padding: 12px 14px; position: sticky; top: 8px; z-index: 30; }
.z4-settings-unsaved[hidden] { display: none; }
.z4-settings-unsaved span, .z4-settings-unsaved strong, .z4-settings-unsaved small { display: block; }
.z4-settings-unsaved small { color: #765f2a; margin-top: 2px; }
.z4-settings-unsaved button { background: transparent; border: 1px solid #7c611e; border-radius: 8px; color: #5f480f; cursor: pointer; font-weight: 750; min-height: 40px; padding: 8px 13px; }
.z4-settings-navigation-heading { align-items: end; display: flex; gap: 10px; justify-content: space-between; margin: 4px 2px 10px; }
.z4-settings-navigation-heading strong { color: var(--ex-ink); font-size: 15px; }
.z4-settings-navigation-heading span { color: var(--ex-muted); font-size: 12px; }
.z4-settings-tabs { display: grid; gap: 8px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 16px; padding: 2px; }
.z4-settings-tabs a { align-items: center; background: #fff; border: 1px solid var(--ex-border); border-radius: 12px; color: var(--ex-muted); display: flex; font-weight: 750; gap: 8px; justify-content: space-between; min-height: 48px; min-width: 0; padding: 9px 12px; text-decoration: none; }
.z4-settings-tabs a > span { line-height: 1.25; min-width: 0; }
.z4-settings-tabs a:hover { border-color: var(--ex-brand); color: var(--ex-brand-dark); }
.z4-settings-tabs a small { align-items: center; background: #f0e9e7; border-radius: 999px; color: var(--ex-brand); display: flex; font-size: 10px; height: 22px; justify-content: center; min-width: 22px; padding: 0 5px; }
.z4-settings-tabs a.is-active { background: var(--ex-brand-dark); border-color: var(--ex-brand-dark); color: #fff; }
.z4-settings-tabs a.is-active small { background: rgba(255,255,255,.2); color: #fff; }
.z4-settings-form { min-width: 0; }
.z4-settings-toolbar { align-items: end; background: #fff; border: 1px solid var(--ex-border); border-radius: 14px; display: grid; gap: 14px; grid-template-columns: minmax(280px, 1fr) minmax(220px, .55fr) auto; margin-bottom: 16px; padding: 16px; }
.z4-settings-toolbar > label:first-child { display: grid; gap: 6px; }
.z4-settings-toolbar label > span { color: var(--ex-ink); font-size: 12px; font-weight: 750; }
.z4-settings-toolbar label > span b { color: var(--ex-brand); }
.z4-settings-toolbar input[type="text"], .z4-settings-toolbar input[name="reason"] { border: 1px solid var(--ex-border); border-radius: 9px; min-height: 44px; padding: 10px 12px; width: 100%; }
.z4-settings-confirmation { align-items: center; display: flex; gap: 9px; min-height: 44px; }
.z4-settings-confirmation input[type="checkbox"] { accent-color: var(--ex-brand); height: 18px; width: 18px; }
.z4-settings-page-context { align-items: flex-start; background: #f7f4f3; border-radius: 10px; display: flex; flex-direction: column; gap: 3px; justify-content: center; min-height: 44px; padding: 9px 12px; }
.z4-settings-page-context strong { color: var(--ex-ink); font-size: 12px; }
.z4-settings-page-context span { color: var(--ex-muted); font-size: 10px; }
.z4-settings-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.z4-settings-section { animation: z4-settings-in .16s ease; background: #fff; border: 1px solid var(--ex-border); border-radius: 16px; min-width: 0; padding: 22px; }
.z4-settings-section[hidden] { display: none; }
@keyframes z4-settings-in { from { opacity: .5; transform: translateY(3px); } to { opacity: 1; transform: none; } }
.z4-settings-section-heading { align-items: flex-start; display: flex; gap: 20px; justify-content: space-between; margin-bottom: 18px; }
.z4-settings-section-heading h2 { color: var(--ex-ink); font-size: 24px; margin: 0 0 5px; }
.z4-settings-section-heading p { color: var(--ex-muted); line-height: 1.55; margin: 0; }
.z4-settings-section-heading > span { background: #f7f4f3; border-radius: 999px; color: var(--ex-muted); flex: 0 0 auto; font-size: 10px; padding: 7px 10px; }
.z4-settings-note { align-items: flex-start; background: #f7f4f3; border: 1px solid var(--ex-border); border-radius: 11px; display: grid; gap: 4px; margin-bottom: 18px; padding: 13px 15px; }
.z4-settings-note.is-important { background: var(--ex-brand-soft); border-color: #e1b9b9; }
.z4-settings-note strong { color: var(--ex-brand-dark); }
.z4-settings-note small, .z4-settings-note a { color: var(--ex-muted); line-height: 1.5; }
.z4-settings-note a { color: var(--ex-brand); font-weight: 750; margin-top: 3px; width: max-content; }
.z4-commission-preview { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 4px; }
.z4-commission-preview span { background: #fff; border: 1px solid #dfb5b5; border-radius: 10px; color: var(--ex-muted); min-width: 170px; padding: 10px 13px; }
.z4-commission-preview b { color: var(--ex-brand-dark); font-size: 20px; margin-inline-end: 3px; }
.z4-settings-fields { display: grid; gap: 0 22px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.z4-setting-field { align-items: center; border-top: 1px solid #eee8e6; display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr) minmax(190px, .68fr); min-height: 100px; padding: 16px 4px; }
.z4-setting-field:nth-child(-n+2) { border-top: 0; }
.z4-setting-field.is-primary-setting { background: #fff8f8; border: 1px solid #dfb5b5; border-radius: 12px; grid-column: 1 / -1; margin-bottom: 6px; padding: 18px; }
.z4-setting-field.is-primary-setting .z4-setting-copy > label { color: var(--ex-brand-dark); font-size: 16px; }
.z4-setting-field.is-primary-setting .z4-setting-control > input { border-color: var(--ex-brand); font-size: 18px; font-weight: 800; }
.z4-setting-copy { min-width: 0; }
.z4-setting-copy > label { color: var(--ex-ink); display: block; font-size: 13px; font-weight: 800; margin-bottom: 5px; }
.z4-setting-copy code { color: var(--ex-muted); display: block; font-size: 10px; overflow-wrap: anywhere; }
.z4-setting-copy small { color: var(--ex-muted); display: block; font-size: 11px; line-height: 1.5; margin-top: 6px; }
.z4-setting-control { min-width: 0; }
.z4-setting-control > input:not([type="checkbox"]):not([type="hidden"]), .z4-setting-control > select, .z4-setting-control > textarea { background: #fff; border: 1px solid var(--ex-border); border-radius: 9px; color: var(--ex-ink); font-size: 14px; min-height: 42px; padding: 9px 10px; width: 100%; }
.z4-setting-control > textarea { min-height: 76px; resize: vertical; }
.z4-setting-control > small { color: var(--ex-muted); display: block; font-size: 9px; margin-top: 5px; text-align: right; }
.z4-setting-field.is-locked { background: #faf9f8; opacity: .78; }
.z4-settings-switch { align-items: center; cursor: pointer; display: flex; gap: 9px; justify-content: flex-end; }
.z4-settings-switch input { height: 1px; opacity: 0; position: absolute; width: 1px; }
.z4-settings-switch > span { background: #cfc7c4; border-radius: 999px; height: 26px; position: relative; transition: background .16s ease; width: 46px; }
.z4-settings-switch > span::after { background: #fff; border-radius: 50%; box-shadow: 0 1px 4px rgba(0,0,0,.2); content: ""; height: 20px; left: 3px; position: absolute; top: 3px; transition: transform .16s ease; width: 20px; }
.z4-settings-switch input:checked + span { background: var(--ex-brand); }
.z4-settings-switch input:checked + span::after { transform: translateX(20px); }
.z4-settings-switch input:focus-visible + span { outline: 3px solid rgba(142,0,0,.25); outline-offset: 2px; }
.z4-settings-switch em { color: var(--ex-muted); font-size: 11px; font-style: normal; min-width: 48px; }
.z4-integration-status { background: #faf8f7; border: 1px solid var(--ex-border); border-radius: 12px; margin-top: 20px; padding: 16px; }
.z4-integration-status h3 { color: var(--ex-ink); margin: 0 0 12px; }
.z4-integration-status h3 small { background: #ece7e5; border-radius: 999px; color: var(--ex-muted); font-size: 9px; margin-left: 7px; padding: 4px 7px; text-transform: uppercase; }
.z4-integration-status > div { display: grid; gap: 9px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.z4-integration-status article { background: #fff; border: 1px solid var(--ex-border); border-left: 4px solid #a8a09e; border-radius: 9px; display: grid; gap: 4px; padding: 11px; }
.z4-integration-status article.is-good { border-left-color: var(--ex-green); }
.z4-integration-status article.is-warning { border-left-color: #b27919; }
.z4-integration-status article span { color: var(--ex-muted); font-size: 10px; }
.z4-integration-status article strong { color: var(--ex-ink); font-size: 12px; overflow-wrap: anywhere; }
.z4-settings-history { margin-top: 18px; }
.z4-settings-history .z4-exhibitions-table { min-width: 1080px; table-layout: auto; }
.z4-settings-history .z4-exhibitions-table th { width: auto; }
.z4-settings-history td code { display: block; font-size: 10px; max-width: 260px; overflow-wrap: anywhere; white-space: normal; }
.z4-danger-zone { background: #fff; border: 1px solid #c82424; border-radius: 15px; margin-top: 22px; overflow: hidden; }
.z4-danger-zone > header { background: #fff3f2; border-bottom: 1px solid #edc3c0; padding: 20px; }
.z4-danger-zone > header span { color: #9d1515; font-size: 11px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.z4-danger-zone > header h2 { color: #721111; margin: 5px 0; }
.z4-danger-zone > header p { color: #7d5553; margin: 0; }
.z4-danger-zone-body { align-items: start; display: grid; gap: 28px; grid-template-columns: 1fr 1fr; padding: 20px; }
.z4-danger-zone-body ul { color: var(--ex-muted); padding-left: 20px; }
.z4-danger-zone-body p { background: #f7f4f3; border-radius: 8px; color: var(--ex-muted); padding: 10px; }
.z4-danger-zone form { display: grid; gap: 12px; }
.z4-danger-zone form label { color: var(--ex-ink); display: grid; font-size: 12px; font-weight: 750; gap: 5px; }
.z4-danger-zone form input, .z4-danger-zone form textarea { border: 1px solid #d9a5a2; border-radius: 8px; min-height: 42px; padding: 9px 10px; }
.z4-danger-zone form button { background: #a51212; border: 0; border-radius: 8px; color: #fff; cursor: pointer; font-weight: 800; min-height: 44px; padding: 10px 14px; }
@media (max-width: 1100px) {
    .z4-settings-toolbar { grid-template-columns: 1fr 1fr; }
    .z4-settings-actions { grid-column: 1 / -1; justify-content: flex-start; }
    .z4-settings-fields { grid-template-columns: 1fr; }
    .z4-setting-field:nth-child(2) { border-top: 1px solid #eee8e6; }
    .z4-integration-status > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
    .z4-exhibitions-settings { padding: 18px 12px 72px; }
    .z4-settings-heading, .z4-settings-section-heading { align-items: stretch; display: grid; }
    .z4-settings-heading .z4-exhibitions-button { width: 100%; }
    .z4-settings-navigation-heading { align-items: start; display: grid; }
    .z4-settings-tabs { grid-template-columns: 1fr; margin-inline: -2px; }
    .z4-settings-tabs a { max-width: none; }
    .z4-settings-toolbar { grid-template-columns: 1fr; padding: 13px; }
    .z4-settings-actions { display: grid; grid-column: auto; grid-template-columns: 1fr; }
    .z4-settings-actions .z4-exhibitions-button { width: 100%; }
    .z4-settings-section { padding: 16px; }
    .z4-settings-section-heading > span { width: max-content; }
    .z4-setting-field { align-items: stretch; grid-template-columns: 1fr; min-height: 0; padding: 15px 2px; }
    .z4-settings-switch { justify-content: flex-start; }
    .z4-setting-control > small { text-align: left; }
    .z4-integration-status > div, .z4-danger-zone-body { grid-template-columns: 1fr; }
    .z4-settings-unsaved { align-items: stretch; display: grid; }
}

@media (min-width: 701px) {
    body:has(.z4-exhibitions-admin) > .min-h-screen.bg-gray-100 {
        padding-top: 64px !important;
    }

    html body:has(.z4-exhibitions-admin) main.z4-exhibitions-admin {
        padding-top: 34px !important;
    }
}

.z4-exhibitions-admin {
    background: var(--ex-bg);
    color: var(--ex-text);
    min-height: calc(100vh - 32px);
    padding: 34px;
}

.z4-exhibitions-container {
    margin: 0 auto;
    max-width: 1280px;
}

.z4-exhibitions-heading {
    align-items: flex-start;
    display: flex;
    gap: 24px;
    justify-content: space-between;
    margin-bottom: 24px;
}

.z4-exhibitions-eyebrow {
    color: var(--ex-brand);
    display: block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .11em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.z4-exhibitions-heading h1 {
    color: var(--ex-ink);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 750;
    letter-spacing: -.035em;
    line-height: 1.05;
    margin: 0;
}

.z4-exhibitions-heading p {
    color: var(--ex-muted);
    line-height: 1.65;
    margin: 10px 0 0;
    max-width: 720px;
}

.z4-exhibitions-status {
    align-items: center;
    background: var(--ex-brand-soft);
    border-radius: 999px;
    color: var(--ex-brand);
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 800;
    gap: 7px;
    padding: 9px 14px;
}

.z4-exhibitions-status::before {
    background: currentColor;
    border-radius: 999px;
    content: '';
    height: 7px;
    width: 7px;
}

.z4-exhibitions-status.is-ready {
    background: var(--ex-green-soft);
    color: var(--ex-green);
}

.z4-exhibitions-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 18px;
}

.z4-exhibitions-card,
.z4-exhibitions-panel,
.z4-exhibitions-notice {
    background: var(--ex-surface);
    border: 1px solid var(--ex-border);
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(50, 27, 27, .045);
}

.z4-exhibitions-card {
    align-items: flex-start;
    display: flex;
    gap: 14px;
    min-width: 0;
    padding: 20px;
}

.z4-exhibitions-card-icon {
    align-items: center;
    background: var(--ex-brand-soft);
    border-radius: 11px;
    color: var(--ex-brand);
    display: inline-flex;
    flex: 0 0 auto;
    font-weight: 800;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.z4-exhibitions-card div {
    min-width: 0;
}

.z4-exhibitions-card small {
    color: var(--ex-muted);
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.z4-exhibitions-card strong {
    color: var(--ex-ink);
    display: block;
    font-size: 21px;
    margin-top: 2px;
    overflow-wrap: anywhere;
}

.z4-exhibitions-card p,
.z4-exhibitions-scope p,
.z4-exhibitions-notice p {
    color: var(--ex-muted);
    line-height: 1.55;
    margin: 4px 0 0;
}

.z4-exhibitions-columns {
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, .8fr);
    margin-bottom: 18px;
}

[data-exhibitions-admin-review] .z4-exhibitions-heading {
    margin-bottom: 28px;
}

[data-exhibitions-admin-review] .z4-exhibitions-columns {
    align-items: start;
    gap: 24px;
    margin-bottom: 24px;
}

[data-exhibitions-admin-review] .z4-admin-review-action {
    margin-bottom: 22px;
}

[data-exhibitions-admin-review] .z4-exhibitions-panel > h3 {
    color: var(--ex-ink);
    font-size: 16px;
    font-weight: 750;
    margin: 28px 0 0;
}

[data-exhibitions-admin-review] .z4-exhibitions-panel .z4-exhibitions-form {
    margin-top: 0;
}

[data-exhibitions-admin-review] .z4-exhibitions-columns > aside {
    position: sticky;
    top: 24px;
}

[data-exhibitions-admin-review] .z4-application-sample-grid {
    align-items: start;
}

[data-exhibitions-admin-review] .z4-identity-document-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

[data-exhibitions-admin-review] .z4-application-sample-card {
    display: grid;
    grid-template-rows: auto auto;
}

[data-exhibitions-admin-review] .z4-application-sample-preview {
    aspect-ratio: 4 / 3;
    height: auto;
    min-height: 190px;
}

[data-exhibitions-admin-review] .z4-application-sample-caption {
    align-content: start;
    display: grid;
    gap: 5px;
    min-width: 0;
    padding: 13px 14px 14px;
}

[data-exhibitions-admin-review] .z4-application-sample-caption a,
[data-exhibitions-admin-review] .z4-application-sample-caption span {
    display: block;
    min-width: 0;
    width: 100%;
}

[data-exhibitions-admin-review] .z4-application-sample-caption a {
    line-height: 1.4;
    overflow-wrap: anywhere;
}

[data-exhibitions-admin-review] .z4-application-sample-caption span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.z4-exhibitions-panel {
    padding: 24px;
}

.z4-exhibitions-panel-heading,
.z4-exhibitions-panel-heading > div {
    align-items: center;
    display: flex;
    gap: 10px;
}

.z4-exhibitions-panel-heading {
    justify-content: space-between;
    margin-bottom: 18px;
}

.z4-exhibitions-panel-heading span {
    color: var(--ex-brand);
    font-size: 11px;
    font-weight: 800;
}

.z4-exhibitions-panel-heading h2 {
    color: var(--ex-ink);
    font-size: 18px;
    margin: 0;
}

.z4-exhibitions-panel-heading a {
    color: var(--ex-brand);
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
}

.z4-exhibitions-checks {
    display: grid;
    gap: 11px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.z4-exhibitions-checks li {
    align-items: flex-start;
    border-bottom: 1px solid #eee9e7;
    display: flex;
    gap: 10px;
    line-height: 1.5;
    padding-bottom: 11px;
}

.z4-exhibitions-checks li:last-child {
    border: 0;
    padding-bottom: 0;
}

.z4-exhibitions-checks li span {
    color: var(--ex-green);
    font-weight: 900;
}

.z4-exhibitions-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.z4-exhibitions-tags span {
    background: var(--ex-brand-soft);
    border-radius: 999px;
    color: var(--ex-brand-dark);
    font-size: 12px;
    font-weight: 700;
    padding: 7px 10px;
}

.z4-exhibitions-notice {
    border-left: 4px solid var(--ex-brand);
    padding: 18px 20px;
}

.z4-exhibitions-notice strong {
    color: var(--ex-ink);
}

.z4-exhibitions-form-container { max-width: 1040px; }
.z4-exhibitions-form { display: grid; gap: 18px; }
.z4-registration-progress { display: none; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.is-wizard-ready .z4-registration-progress { display: grid; }
.z4-registration-progress li { align-items: center; color: var(--ex-muted); display: flex; flex-direction: column; font-size: 11px; font-weight: 700; gap: 7px; min-width: 0; position: relative; text-align: center; }
.z4-registration-progress li::before, .z4-registration-progress li::after { background: var(--ex-border); content: ''; height: 2px; position: absolute; top: 15px; width: 50%; }
.z4-registration-progress li::before { inset-inline-start: 0; }
.z4-registration-progress li::after { inset-inline-end: 0; }
.z4-registration-progress li:first-child::before, .z4-registration-progress li:last-child::after { display: none; }
.z4-registration-progress li.is-complete::before, .z4-registration-progress li.is-complete::after, .z4-registration-progress li.is-current::before { background: var(--ex-brand); }
.z4-registration-progress li > span { align-items: center; background: #fff; border: 2px solid var(--ex-border); border-radius: 50%; display: inline-flex; height: 32px; justify-content: center; position: relative; width: 32px; z-index: 1; }
.z4-registration-progress li.is-current { color: var(--ex-brand-dark); }
.z4-registration-progress li.is-current > span { background: var(--ex-brand); border-color: var(--ex-brand); color: #fff; }
.z4-registration-progress li.is-complete > span { background: var(--ex-brand-dark); border-color: var(--ex-brand-dark); color: #fff; }
.z4-wizard-status { color: var(--ex-muted); display: none; font-size: 13px; font-weight: 700; margin: -6px 0 0; text-align: center; }
.is-wizard-ready .z4-wizard-status { display: block; }
.z4-wizard-step-group { display: grid; gap: 18px; }
.z4-wizard-step-group[hidden], .z4-wizard-navigation [hidden] { display: none !important; }
.z4-wizard-navigation { display: flex; gap: 10px; }
.z4-wizard-button { display: none !important; }
.is-wizard-ready .z4-wizard-button { display: inline-flex !important; }
.z4-wizard-button[hidden], .is-wizard-ready .z4-wizard-button[hidden] { display: none !important; }
.z4-exhibitions-section-title { align-items: flex-start; display: flex; gap: 12px; margin-bottom: 22px; }
.z4-exhibitions-section-title > span { color: var(--ex-brand); font-size: 11px; font-weight: 800; padding-top: 5px; }
.z4-exhibitions-section-title h2 { color: var(--ex-ink); font-size: 20px; margin: 0; }
.z4-exhibitions-section-title p { color: var(--ex-muted); margin: 4px 0 0; }
.z4-exhibitions-fields { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.z4-exhibitions-fields.is-single { grid-template-columns: 1fr; margin-bottom: 20px; }
[data-registration-identity] [hidden] { display: none !important; }
.z4-exhibitions-form label, .z4-exhibitions-filters label { align-content: start; color: var(--ex-ink); display: grid; font-size: 13px; font-weight: 750; gap: 7px; }
.z4-exhibitions-form label b { color: var(--ex-brand); }
.z4-exhibitions-form label em { color: var(--ex-muted); font-size: 11px; font-style: normal; font-weight: 500; }
.z4-exhibitions-form input:not([type="checkbox"]):not([type="file"]), .z4-exhibitions-form textarea, .z4-exhibitions-form select, .z4-exhibitions-filters input, .z4-exhibitions-filters select { background: #fff; border: 1px solid var(--ex-border); border-radius: 10px; color: var(--ex-ink); font: inherit; font-weight: 500; min-width: 0; padding: 12px 13px; width: 100%; }
.z4-exhibitions-form input:focus, .z4-exhibitions-form textarea:focus, .z4-exhibitions-form select:focus, .z4-exhibitions-filters input:focus, .z4-exhibitions-filters select:focus { border-color: var(--ex-brand); box-shadow: 0 0 0 3px var(--ex-brand-soft); outline: 0; }
.z4-exhibitions-form input::selection, .z4-exhibitions-form textarea::selection { background: var(--ex-brand); color: #fff; }
.z4-exhibitions-form input:-webkit-autofill, .z4-exhibitions-form input:-webkit-autofill:hover { -webkit-box-shadow: 0 0 0 1000px #fff inset !important; -webkit-text-fill-color: var(--ex-ink) !important; background-color: #fff !important; caret-color: var(--ex-ink) !important; color: var(--ex-ink) !important; }
.z4-exhibitions-form input:-webkit-autofill:focus { border-color: var(--ex-brand) !important; -webkit-box-shadow: 0 0 0 1000px #fff inset, 0 0 0 3px var(--ex-brand-soft) !important; -webkit-text-fill-color: var(--ex-ink) !important; caret-color: var(--ex-ink) !important; }
.z4-exhibitions-form label small, .z4-exhibitions-field-error { color: #b42318; font-size: 12px; font-weight: 600; }
.z4-exhibitions-form label small.z4-field-hint { color: var(--ex-muted); font-weight: 600; }
.z4-custom-date-field { color: var(--ex-ink); display: grid; font-size: 13px; font-weight: 750; gap: 7px; min-width: 0; position: relative; }
.z4-custom-date-field > label b { color: var(--ex-brand); }
.z4-custom-date-field > small { color: #b42318; font-size: 12px; font-weight: 600; }
.z4-date-picker-control { position: relative; }
.z4-date-picker-control input { cursor: pointer; padding-inline-end: 48px !important; }
.z4-exhibitions-form .z4-date-picker-control button { align-items: center; background: transparent; color: var(--ex-muted); display: inline-flex; height: 38px; inset-inline-end: 5px; padding: 0; position: absolute; top: 50%; transform: translateY(-50%); width: 38px; }
.z4-date-picker-control button svg { fill: none; height: 20px; margin: auto; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; width: 20px; }
.z4-date-picker-popup { background: #fff; border: 1px solid var(--ex-border); border-radius: 12px; box-shadow: 0 18px 45px rgba(49, 21, 18, .18); inset-inline-start: 0; max-width: calc(100vw - 48px); padding: 12px; position: absolute; top: calc(100% - 19px); width: 370px; z-index: 40; }
.z4-date-picker-popup[hidden] { display: none; }
.z4-date-picker-popup header { align-items: center; border-bottom: 1px solid var(--ex-border); display: grid; grid-template-columns: 36px 1fr 36px; margin-bottom: 10px; padding-bottom: 10px; }
.z4-date-picker-popup header strong { font-size: 14px; text-align: center; }
.z4-exhibitions-form .z4-date-picker-popup header button { align-items: center; background: #f8f5f4; color: var(--ex-ink); display: inline-flex; font-size: 20px; height: 34px; justify-content: center; padding: 0; width: 34px; }
.z4-date-picker-popup header button[hidden] { visibility: hidden; }
.z4-date-picker-grid { display: grid; gap: 6px; }
.z4-date-picker-grid.is-years { grid-template-columns: repeat(4, 1fr); max-height: 260px; overflow-y: auto; padding-inline-end: 4px; }
.z4-date-picker-grid.is-months { grid-template-columns: repeat(3, 1fr); }
.z4-date-picker-grid.is-days { grid-template-columns: repeat(7, 1fr); }
.z4-exhibitions-form .z4-date-picker-grid button { background: #faf8f7; border: 1px solid transparent; border-radius: 8px; color: var(--ex-ink); font-size: 12px; min-height: 38px; padding: 7px 5px; }
.z4-exhibitions-form .z4-date-picker-grid button:hover, .z4-exhibitions-form .z4-date-picker-grid button:focus-visible, .z4-exhibitions-form .z4-date-picker-grid button.is-selected { background: var(--ex-brand-soft); border-color: var(--ex-brand); color: var(--ex-brand-dark); outline: 0; }
.z4-exhibitions-form .z4-date-picker-grid button:disabled { background: #f5f3f2; color: #aaa39f; cursor: not-allowed; }
.z4-date-picker-weekday { color: var(--ex-muted); font-size: 10px; padding: 4px 0; text-align: center; }
.z4-password-field { display: block; position: relative; }
.z4-password-field input { padding-inline-end: 52px !important; }
.z4-exhibitions-form .z4-password-toggle { align-items: center; background: transparent; border: 0; color: var(--ex-muted); display: inline-flex; height: 38px; inset-inline-end: 5px; justify-content: center; padding: 0; position: absolute; top: 50%; transform: translateY(-50%); width: 38px; }
.z4-exhibitions-form .z4-password-toggle:hover { background: var(--ex-brand-soft); color: var(--ex-brand-dark); }
.z4-exhibitions-form .z4-password-toggle:focus-visible { background: var(--ex-brand-soft); box-shadow: 0 0 0 2px var(--ex-brand); color: var(--ex-brand-dark); outline: 0; }
.z4-password-toggle svg { fill: none; height: 20px; pointer-events: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; width: 20px; }
.z4-password-toggle svg[hidden] { display: none; }
.z4-exhibitions-upload { align-items: center; background: #fffafa; border: 1px dashed #c9aaa6; border-radius: 12px; cursor: pointer; justify-items: center; min-height: 112px; padding: 20px; text-align: center; }
.z4-exhibitions-upload input { max-width: 100%; }
.z4-supporting-upload { min-height: 140px; }
.z4-supporting-upload > span, .z4-supporting-upload > small { display: block; }
.z4-supporting-upload > small { color: var(--ex-muted); font-size: 11px; font-weight: 500; margin-top: 6px; }
.z4-phone-field { align-items: stretch; background: #fff; border: 1px solid var(--ex-border); border-radius: 10px; display: flex; min-width: 0; overflow: hidden; }
.z4-phone-field:focus-within { border-color: var(--ex-brand); box-shadow: 0 0 0 3px var(--ex-brand-soft); }
.z4-phone-prefix { align-items: center; background: #faf8f7; border-inline-end: 1px solid var(--ex-border); display: inline-flex; flex: 0 0 90px; gap: 6px; justify-content: center; min-width: 90px; padding: 0 10px; white-space: nowrap; }
.z4-phone-prefix img { border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.12); display: block; height: 18px; object-fit: cover; width: 24px; }
.z4-exhibitions-admin .z4-exhibitions-form .z4-phone-field input { border: 0 !important; border-radius: 0 !important; box-shadow: none !important; min-width: 0; outline: 0; }
.z4-repeatable-links { display: grid; gap: 10px; min-width: 0; }
.z4-repeatable-links [data-repeatable-list] { display: grid; gap: 10px; }
.z4-repeatable-input { align-items: stretch; display: flex; min-width: 0; }
.z4-repeatable-input input { border-end-end-radius: 0 !important; border-start-end-radius: 0 !important; }
.z4-exhibitions-form .z4-repeatable-input [data-remove-link] { align-items: center; align-self: stretch; background: #fff0ef; border: 1px solid var(--ex-border); border-inline-start: 0; border-radius: 0 10px 10px 0; color: #8c1d18; display: inline-flex; font-size: 22px; justify-content: center; min-width: 44px; padding: 0; }
.z4-exhibitions-form .z4-add-link { align-items: center; background: #fff; border: 1px solid var(--ex-brand); border-radius: 10px; color: var(--ex-brand); display: inline-flex; font-weight: 800; gap: 7px; justify-self: start; min-height: 44px; padding: 9px 14px; }
.z4-exhibitions-form .z4-add-link > span { font-size: 20px; line-height: 1; }
.z4-exhibitions-form .z4-add-link[hidden] { display: none; }
.z4-exhibitions-file-list { display: grid; gap: 8px; list-style: none; margin: 16px 0 0; padding: 0; }
.z4-exhibitions-file-list li { align-items: center; background: #faf8f7; border-radius: 9px; display: flex; gap: 12px; justify-content: space-between; padding: 10px 12px; }
.z4-exhibitions-file-list a, .z4-exhibitions-table a, .z4-exhibitions-back { color: var(--ex-brand); font-weight: 750; overflow-wrap: anywhere; text-decoration: none; }
.z4-exhibitions-file-list span { color: var(--ex-muted); font-size: 12px; }
.z4-application-sample-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); list-style: none; margin: 16px 0 22px; padding: 0; }
.z4-application-sample-card { background: #faf8f7; border: 1px solid #eee9e7; border-radius: 12px; margin: 0; min-width: 0; overflow: hidden; }
.z4-application-sample-preview { align-items: center; background: #f2efed; display: flex; height: 240px; justify-content: center; overflow: hidden; }
.z4-application-sample-preview img { display: block; height: 100%; object-fit: contain; width: 100%; }
.z4-application-sample-file { align-items: center; background: #f2efed; color: var(--ex-muted); display: flex; height: 120px; justify-content: center; padding: 18px; text-align: center; }
.z4-application-sample-caption { align-items: flex-start; display: flex; gap: 8px; justify-content: space-between; padding: 11px 12px; }
.z4-application-sample-caption a { color: var(--ex-brand); font-weight: 750; overflow-wrap: anywhere; text-decoration: none; }
.z4-application-sample-caption span { color: var(--ex-muted); flex: 0 0 auto; font-size: 11px; white-space: nowrap; }
.z4-application-sample-empty { background: #faf8f7; border-radius: 9px; color: var(--ex-muted); padding: 10px 12px; }
[data-exhibitions-application-status] .z4-exhibitions-panel > h3 { font-size: 16px; margin: 28px 0 12px; }
[data-exhibitions-application-status] .z4-exhibitions-section-title + h3 { margin-top: 0; }
[data-exhibitions-application-status] .z4-application-sample-grid { margin-top: 0; margin-bottom: 30px; }
[data-exhibitions-application-status] .z4-exhibitions-file-list { margin-top: 0; }
[data-exhibitions-application-status] .z4-application-status-action { margin-bottom: 22px; }
.z4-exhibitions-declarations { display: grid; gap: 14px; }
.z4-exhibitions-declarations label { align-items: flex-start; display: flex; line-height: 1.5; }
.z4-exhibitions-declarations input { margin-top: 4px; }
.z4-exhibitions-actions { display: flex; gap: 12px; justify-content: flex-end; }
.z4-exhibitions-actions button, .z4-exhibitions-button, .z4-exhibitions-form button, .z4-exhibitions-filters button { border: 0; border-radius: 10px; cursor: pointer; display: inline-flex; font-weight: 800; justify-content: center; padding: 12px 18px; text-decoration: none; }
.z4-exhibitions-actions .is-primary, .z4-exhibitions-form .is-primary, .z4-exhibitions-button, .z4-exhibitions-filters button { background: var(--ex-brand); color: #fff !important; }
a.z4-exhibitions-button { color: #fff !important; -webkit-text-fill-color: #fff !important; }
.z4-exhibitions-actions .is-secondary { background: #fff; border: 1px solid var(--ex-border); color: var(--ex-ink); }
.z4-exhibitions-alert { border: 1px solid; border-radius: 12px; margin-bottom: 18px; padding: 14px 16px; }
.z4-exhibitions-alert.is-success { background: var(--ex-green-soft); border-color: #b8d6bf; color: #285f35; }
.z4-exhibitions-alert.is-warning { background: #fff7e7; border-color: #f1ce84; color: #744f00; }
.z4-exhibitions-alert.is-error { background: #fff0ef; border-color: #f3b5af; color: #8c1d18; }
.z4-exhibitions-alert ul { margin: 8px 0 0; padding-inline-start: 20px; }
.z4-inline-field-error { color: #a30f0a !important; display: block; font-size: 12px; font-weight: 700; line-height: 1.45; margin-top: 2px; }
.z4-inline-field-error[hidden] { display: none; }
.z4-exhibitions-form :is(input,select,textarea)[aria-invalid="true"] { background: #fff8f7; border-color: #b3130e !important; box-shadow: 0 0 0 3px rgba(179,19,14,.1); }
.z4-exhibitions-next-action { border-left: 4px solid var(--ex-brand); margin-bottom: 18px; }
.z4-exhibitions-next-action h2 { color: var(--ex-ink); font-size: 20px; margin: 0 0 10px; }
.z4-exhibitions-next-action p { margin: 5px 0; }
.z4-exhibitions-timeline { display: grid; gap: 0; list-style: none; margin: 0; padding: 0; }
.z4-exhibitions-timeline li { display: grid; gap: 14px; grid-template-columns: 16px 1fr; padding-bottom: 22px; position: relative; }
.z4-exhibitions-timeline li::before { background: var(--ex-border); bottom: 0; content: ''; left: 7px; position: absolute; top: 15px; width: 2px; }
.z4-exhibitions-timeline li:last-child::before { display: none; }
.z4-exhibitions-timeline li > span { background: var(--ex-brand); border: 3px solid var(--ex-brand-soft); border-radius: 50%; height: 16px; width: 16px; }
.z4-exhibitions-timeline strong, .z4-exhibitions-timeline time { display: block; }
.z4-exhibitions-timeline time { color: var(--ex-muted); font-size: 12px; margin-top: 3px; }
.z4-exhibitions-timeline p { margin: 7px 0 0; }
.z4-exhibitions-counts { display: grid; gap: 10px; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 18px; }
.z4-exhibitions-counts a { background: #fff; border: 1px solid var(--ex-border); border-radius: 12px; color: var(--ex-ink); display: grid; padding: 13px; text-decoration: none; }
.z4-exhibitions-counts strong { font-size: 20px; }
.z4-exhibitions-counts span { color: var(--ex-muted); font-size: 12px; }
.z4-exhibitions-filters { align-items: end; background: #fff; border: 1px solid var(--ex-border); border-radius: 14px; display: grid; gap: 12px; grid-template-columns: 1fr 220px auto; margin-bottom: 18px; padding: 16px; }
.z4-exhibitions-table-wrap { overflow-x: auto; }
.z4-exhibitions-table { border-collapse: collapse; min-width: 760px; table-layout: fixed; width: 100%; }
.z4-exhibitions-table th:nth-child(1) { width: 16%; }
.z4-exhibitions-table th:nth-child(2) { width: 45%; }
.z4-exhibitions-table th:nth-child(3) { width: 13%; }
.z4-exhibitions-table th:nth-child(4) { width: 16%; }
.z4-exhibitions-table th:nth-child(5) { width: 10%; }
.z4-exhibitions-table td:last-child a { white-space: nowrap; }
.z4-exhibitions-table th, .z4-exhibitions-table td { border-bottom: 1px solid #eee9e7; padding: 13px 10px; text-align: left; vertical-align: top; }
.z4-exhibitions-table th { color: var(--ex-muted); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; }
.z4-exhibitions-table td small { color: var(--ex-muted); display: block; margin-top: 3px; }
.z4-exhibitions-empty { color: var(--ex-muted); left: 0; padding: 42px !important; position: sticky; text-align: center !important; }
.z4-exhibitions-pill { background: var(--ex-brand-soft); border-radius: 999px; color: var(--ex-brand-dark); display: inline-block; font-size: 12px; font-weight: 750; padding: 6px 9px; }
.z4-visually-hidden { clip: rect(0 0 0 0); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px; }

/* Application queue: six balanced columns without desktop overflow. */
[data-exhibitions-admin-queue] .z4-exhibitions-filters { grid-template-columns: minmax(0, 2fr) minmax(180px, 1fr) minmax(190px, 250px); }
[data-exhibitions-admin-queue] .z4-exhibitions-filters button { width: 100%; }
[data-exhibitions-admin-queue] .z4-exhibitions-table-wrap { overflow-x: hidden; }
[data-exhibitions-admin-queue] .z4-exhibitions-table { min-width: 0; table-layout: fixed; }
[data-exhibitions-admin-queue] .z4-exhibitions-table th:nth-child(1) { width: 19%; }
[data-exhibitions-admin-queue] .z4-exhibitions-table th:nth-child(2) { width: 18%; }
[data-exhibitions-admin-queue] .z4-exhibitions-table th:nth-child(3) { width: 15%; }
[data-exhibitions-admin-queue] .z4-exhibitions-table th:nth-child(4) { width: 16%; }
[data-exhibitions-admin-queue] .z4-exhibitions-table th:nth-child(5) { width: 20%; }
[data-exhibitions-admin-queue] .z4-exhibitions-table th:nth-child(6) { width: 12%; }
[data-exhibitions-admin-queue] .z4-exhibitions-table th,
[data-exhibitions-admin-queue] .z4-exhibitions-table td { overflow-wrap: anywhere; padding: 14px 12px; }
[data-exhibitions-admin-queue] .z4-exhibitions-table td:first-child strong { display: block; }
[data-exhibitions-admin-queue] .z4-exhibitions-table td:first-child small { line-height: 1.45; }
[data-exhibitions-admin-queue] .z4-exhibitions-table time { white-space: nowrap; }
[data-exhibitions-admin-queue] .z4-application-row-action { text-align: right; }
[data-exhibitions-admin-queue] .z4-application-row-action a { display: inline-flex; justify-content: flex-end; min-height: 36px; padding: 7px 0; }

@media (max-width: 760px) {
    [data-exhibitions-admin-queue] .z4-exhibitions-counts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    [data-exhibitions-admin-queue] .z4-exhibitions-filters { grid-template-columns: 1fr; }
    [data-exhibitions-admin-queue] .z4-exhibitions-table-wrap { padding: 12px; }
    [data-exhibitions-admin-queue] .z4-exhibitions-table,
    [data-exhibitions-admin-queue] .z4-exhibitions-table tbody { display: block; min-width: 0; }
    [data-exhibitions-admin-queue] .z4-exhibitions-table thead { display: none; }
    [data-exhibitions-admin-queue] .z4-exhibitions-table tbody { display: grid; gap: 12px; }
    [data-exhibitions-admin-queue] .z4-exhibitions-table tr { background: #fff; border: 1px solid #eee9e7; border-radius: 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: hidden; padding: 6px; }
    [data-exhibitions-admin-queue] .z4-exhibitions-table td { border: 0; display: grid; gap: 5px; min-width: 0; padding: 9px 10px; }
    [data-exhibitions-admin-queue] .z4-exhibitions-table td::before { color: var(--ex-muted); content: attr(data-label); font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
    [data-exhibitions-admin-queue] .z4-exhibitions-table time { white-space: normal; }
    [data-exhibitions-admin-queue] .z4-application-row-action { border-top: 1px solid #eee9e7; grid-column: 1 / -1; text-align: left; }
    [data-exhibitions-admin-queue] .z4-application-row-action a { justify-content: center; width: 100%; }
    [data-exhibitions-admin-queue] .z4-application-empty-row { display: block; padding: 0; }
    [data-exhibitions-admin-queue] .z4-application-empty-row td::before { display: none; }
}

/* Commission and artist financial terms */
.z4-commission-example {
    margin: 16px 0 22px;
    padding: 18px;
    border: 1px solid #efd7d1;
    border-radius: 16px;
    background: #fff;
}
.z4-commission-example header { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.z4-commission-example header span { color: #6f5d59; font-size: 13px; }
.z4-commission-example dl { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 0; }
.z4-commission-example dl div { padding: 12px; border-radius: 12px; background: #fff7f4; }
.z4-commission-example dt { color: #725d58; font-size: 12px; }
.z4-commission-example dd { margin: 6px 0 0; color: #171211; font-weight: 700; }
.z4-financial-terms-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.z4-financial-terms-summary article { padding: 18px; border: 1px solid #eadbd7; border-radius: 16px; background: #fff; box-shadow: 0 10px 24px rgba(55, 19, 13, .04); }
.z4-financial-terms-summary span { display: block; margin-bottom: 8px; color: #78645f; font-size: 12px; }
.z4-financial-terms-summary strong { color: #8f0909; font-size: 17px; }
.z4-financial-terms-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.z4-financial-terms-form fieldset { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; border: 0; }
.z4-financial-terms-form legend { grid-column: 1 / -1; margin-bottom: 8px; font-weight: 700; }
.z4-financial-source-option { display: flex !important; flex-direction: row !important; align-items: flex-start; gap: 12px; padding: 16px; border: 1px solid #eadbd7; border-radius: 14px; background: #fffaf8; cursor: pointer; }
.z4-financial-source-option input { width: auto !important; margin-top: 3px; }
.z4-financial-source-option span { display: grid; gap: 4px; }
.z4-financial-source-option small { color: #78645f; }
.z4-financial-terms-form > label { display: grid; gap: 7px; }
.z4-financial-terms-form > label > span { font-weight: 700; }
.z4-financial-terms-form input,
.z4-financial-terms-form textarea { width: 100%; border: 1px solid #dfcfca; border-radius: 12px; padding: 12px 14px; background: #fff; }
.z4-financial-terms-form .is-wide { grid-column: 1 / -1; }
.z4-financial-terms-guard { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 12px; background: #f8eee9; color: #56322c; }
.z4-financial-terms-form > button { justify-self: start; }
@media (max-width: 900px) {
    .z4-commission-example dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .z4-financial-terms-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .z4-commission-example header { flex-direction: column; }
    .z4-commission-example dl,
    .z4-financial-terms-summary,
    .z4-financial-terms-form,
    .z4-financial-terms-form fieldset { grid-template-columns: 1fr; }
}
.z4-exhibitions-details { display: grid; gap: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.z4-exhibitions-details div { border-bottom: 1px solid #eee9e7; padding: 12px 8px; }
.z4-exhibitions-details dt { color: var(--ex-muted); font-size: 11px; font-weight: 750; text-transform: uppercase; }
.z4-exhibitions-details dd { color: var(--ex-ink); line-height: 1.55; margin: 4px 0 0; overflow-wrap: anywhere; white-space: pre-wrap; }
.z4-exhibitions-checks:has(article) { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 18px; }
.z4-exhibitions-checks article { align-items: center; background: #fff; border: 1px solid var(--ex-border); border-radius: 13px; display: flex; gap: 12px; min-width: 0; padding: 15px; }
.z4-exhibitions-checks article > span { align-items: center; background: #f4efed; border-radius: 50%; color: var(--ex-muted); display: inline-flex; flex: 0 0 32px; font-weight: 900; height: 32px; justify-content: center; }
.z4-exhibitions-checks article.is-complete { border-color: #b8d6bf; }
.z4-exhibitions-checks article.is-complete > span { background: var(--ex-green-soft); color: var(--ex-green); }
.z4-exhibitions-checks article strong, .z4-exhibitions-checks article small { display: block; overflow-wrap: anywhere; }
.z4-exhibitions-checks article small { color: var(--ex-muted); font-size: 11px; margin-top: 3px; }
.z4-exhibitions-file-list li.is-muted { opacity: .62; }
.z4-exhibitions-summary { background: #faf8f7; border: 1px solid #eee9e7; border-radius: 12px; display: grid; gap: 4px; margin: 12px 0 18px; padding: 14px; }
.z4-exhibitions-summary span, .z4-exhibitions-summary small { color: var(--ex-muted); }
.z4-exhibitions-agreement { border: 1px solid var(--ex-border); border-radius: 13px; margin-bottom: 18px; overflow: hidden; }
.z4-exhibitions-agreement header { align-items: flex-start; background: #faf8f7; border-bottom: 1px solid var(--ex-border); display: flex; gap: 16px; justify-content: space-between; padding: 16px; }
.z4-exhibitions-agreement header strong, .z4-exhibitions-agreement header small { display: block; }
.z4-exhibitions-agreement header small { color: var(--ex-muted); margin-top: 3px; }
.z4-exhibitions-agreement-content { line-height: 1.7; max-height: 340px; overflow: auto; padding: 18px; white-space: normal; }
.z4-exhibitions-agreement > p { border-top: 1px solid #eee9e7; margin: 0; padding: 10px 18px; }
.z4-exhibitions-consent { align-items: flex-start !important; display: flex !important; }
.z4-exhibitions-consent input { margin-top: 3px; }
[data-exhibitions-verification] .z4-exhibitions-consent { align-items: flex-start !important; background: #faf8f7; border: 1px solid #eee9e7; border-radius: 11px; display: grid !important; gap: 12px; grid-template-columns: 20px minmax(0, 1fr); padding: 14px 16px; width: 100%; }
[data-exhibitions-verification] .z4-exhibitions-consent input[type="checkbox"] { accent-color: var(--ex-brand); flex: 0 0 20px; height: 20px; margin: 2px 0 0 !important; min-width: 20px; padding: 0 !important; width: 20px !important; }
[data-exhibitions-verification] .z4-exhibitions-consent span { line-height: 1.5; min-width: 0; overflow-wrap: anywhere; }
.z4-exhibitions-checkbox-grid { display: grid; gap: 9px; }
.z4-exhibitions-checkbox-grid label { align-items: center; display: flex; font-weight: 650; }
[data-exhibitions-admin-verification] .z4-exhibitions-columns { align-items: stretch; gap: 24px; margin-bottom: 24px; }
[data-exhibitions-admin-verification] .z4-exhibitions-panel { min-width: 0; }
[data-exhibitions-admin-verification] .z4-verification-primary-grid > .z4-exhibitions-panel,
[data-exhibitions-admin-verification] .z4-verification-secondary-grid > .z4-exhibitions-panel { height: 100%; }
[data-exhibitions-admin-verification] .z4-verification-decision-form { gap: 16px; min-width: 0; }
[data-exhibitions-admin-verification] .z4-exhibitions-checkbox-grid { gap: 10px; grid-template-columns: 1fr; }
[data-exhibitions-admin-verification] .z4-exhibitions-checkbox-grid label { align-items: center; background: #faf8f7; border: 1px solid #eee9e7; border-radius: 10px; cursor: pointer; display: flex !important; gap: 10px; min-height: 44px; padding: 10px 12px; width: 100%; }
[data-exhibitions-admin-verification] .z4-exhibitions-checkbox-grid input[type="checkbox"] { accent-color: var(--ex-brand); appearance: auto; box-shadow: none; flex: 0 0 18px; height: 18px !important; margin: 0; min-width: 18px !important; padding: 0; width: 18px !important; }
[data-exhibitions-admin-verification] .z4-exhibitions-checkbox-grid label > span { flex: 1; line-height: 1.35; min-width: 0; }
[data-exhibitions-admin-verification] .z4-verification-decision-form > button { justify-self: start; min-width: 150px; }
.z4-verification-stage-grid { display: grid; gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 18px; }
.z4-verification-stage-grid article, .z4-verification-stage-grid .z4-verification-stage-card { align-items: center; background: #fff; border: 1px solid var(--ex-border); border-radius: 13px; color: var(--ex-ink); display: flex; gap: 12px; min-width: 0; padding: 15px; text-decoration: none; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.z4-verification-stage-grid a:hover { box-shadow: 0 7px 18px rgba(62, 24, 20, .08); transform: translateY(-1px); }
.z4-verification-stage-grid a:focus-visible { outline: 3px solid rgba(175, 0, 0, .2); outline-offset: 2px; }
.z4-verification-stage-grid article > span, .z4-verification-stage-grid .z4-verification-stage-card > span { align-items: center; background: #f4efed; border-radius: 50%; color: var(--ex-muted); display: inline-flex; flex: 0 0 32px; font-weight: 900; height: 32px; justify-content: center; }
.z4-verification-stage-grid article strong, .z4-verification-stage-grid article small, .z4-verification-stage-grid .z4-verification-stage-card strong, .z4-verification-stage-grid .z4-verification-stage-card small { display: block; overflow-wrap: anywhere; }
.z4-verification-stage-grid article small, .z4-verification-stage-grid .z4-verification-stage-card small { color: var(--ex-muted); font-size: 11px; margin-top: 3px; }
.z4-verification-stage-grid article.is-complete, .z4-verification-stage-grid .z4-verification-stage-card.is-complete { border-color: #b8d6bf; }
.z4-verification-stage-grid article.is-complete > span, .z4-verification-stage-grid .z4-verification-stage-card.is-complete > span { background: var(--ex-green-soft); color: var(--ex-green); }
.z4-verification-stage-grid article.is-ready, .z4-verification-stage-grid .z4-verification-stage-card.is-ready { border-color: #d9a6a6; }
.z4-verification-stage-grid article.is-ready > span, .z4-verification-stage-grid .z4-verification-stage-card.is-ready > span { background: var(--ex-brand-soft); color: var(--ex-brand-dark); }
.z4-verification-stage-grid article.is-action, .z4-verification-stage-grid .z4-verification-stage-card.is-action { border-color: #e7aaa5; }
.z4-verification-stage-grid article.is-action > span, .z4-verification-stage-grid .z4-verification-stage-card.is-action > span { background: var(--ex-brand-soft); color: var(--ex-brand); }
.z4-verification-stage-grid article.is-blocked > span, .z4-verification-stage-grid a.is-blocked > span { background: #f4f1f0; color: #755f58; }
.z4-verification-stage-grid a.is-current { box-shadow: 0 0 0 2px var(--ex-brand) inset, 0 8px 22px rgba(79, 17, 14, .09); }
.z4-verification-stage-grid .z4-verification-stage-card.is-locked { background: #faf8f7; border-color: #e5dedb; color: #755f58; cursor: not-allowed; }
.z4-verification-stage-grid .z4-verification-stage-card.is-locked > span { background: #f0ebe9; color: #8a7770; }
.z4-verification-guidance { border: 1px solid; border-radius: 13px; margin-bottom: 24px; padding: 14px 16px; }
.z4-verification-guidance strong { display: block; margin-bottom: 4px; }
.z4-verification-guidance p { color: inherit; line-height: 1.55; margin: 0; }
.z4-verification-guidance.is-waiting { background: #faf8f7; border-color: #e5dedb; color: #594b47; }
.z4-verification-guidance.is-action { background: #fff4f2; border-color: #edb6b1; color: #74251f; }
.z4-verification-guidance.is-ready { background: #fff8e9; border-color: #e8c77f; color: #714e08; }
.z4-seller-readiness { align-items: center; background: linear-gradient(135deg, #fff, #fff8f7); border: 1px solid #e6ceca; border-radius: 15px; display: grid; gap: 14px 24px; grid-template-columns: minmax(0, 1fr) auto; margin-bottom: 18px; padding: 18px 20px; }
.z4-seller-readiness > div:first-child > span { color: var(--ex-green); display: block; font-size: 11px; font-weight: 900; letter-spacing: .07em; margin-bottom: 4px; text-transform: uppercase; }
.z4-seller-readiness h2 { font-size: 19px; margin: 0 0 4px; }
.z4-seller-readiness p { color: var(--ex-muted); line-height: 1.5; margin: 0; }
.z4-seller-readiness-score { min-width: 150px; text-align: end; }
.z4-seller-readiness-score strong, .z4-seller-readiness-score small { display: block; }
.z4-seller-readiness-score strong { color: var(--ex-brand-dark); font-size: 28px; line-height: 1; }
.z4-seller-readiness-score small { color: var(--ex-muted); font-size: 11px; margin-top: 6px; }
.z4-seller-readiness-bar { background: #eadfdd; border-radius: 999px; grid-column: 1 / -1; height: 9px; overflow: hidden; }
.z4-seller-readiness-bar > span { background: linear-gradient(90deg, var(--ex-brand-dark), var(--ex-brand)); border-radius: inherit; display: block; height: 100%; min-width: 0; transition: width .25s ease; }
.z4-seller-readiness.is-admin { background: #fff; }
.z4-verification-submission-list { display: grid; gap: 10px; margin-top: 22px; }
.z4-verification-submission-list article { align-items: center; background: #faf8f7; border: 1px solid #eee9e7; border-radius: 11px; display: grid; gap: 12px; grid-template-columns: 38px minmax(0, 1fr) auto; min-width: 0; padding: 12px; }
.z4-verification-submission-list article strong, .z4-verification-submission-list article small { display: block; overflow-wrap: anywhere; }
.z4-verification-submission-list article small { color: var(--ex-muted); font-size: 11px; margin-top: 3px; }
.z4-verification-submission-icon { align-items: center; background: #f1ecea; border-radius: 50%; color: var(--ex-brand); display: inline-flex; font-size: 10px; font-weight: 900; height: 38px; justify-content: center; width: 38px; }
.z4-verification-pill { border-radius: 999px; display: inline-flex; font-size: 11px; font-weight: 800; padding: 6px 9px; width: fit-content; }
.z4-verification-pill.is-waiting { background: #f1eeec; color: #655650; }
.z4-verification-pill.is-action { background: var(--ex-brand-soft); color: var(--ex-brand-dark); }
.z4-verification-pill.is-ready { background: #fff2d3; color: #765000; }
.z4-verification-pill.is-complete { background: var(--ex-green-soft); color: var(--ex-green); }
.z4-verification-waiting { align-items: center; background: #faf8f7; border: 1px dashed #d9cfcb; border-radius: 12px; display: grid; justify-items: center; min-height: 190px; padding: 28px; text-align: center; }
.z4-verification-waiting > span { align-items: center; background: #f0ebe9; border-radius: 50%; color: var(--ex-muted); display: inline-flex; font-size: 20px; height: 42px; justify-content: center; margin-bottom: 10px; width: 42px; }
.z4-verification-waiting strong { font-size: 16px; }
.z4-verification-waiting p { color: var(--ex-muted); line-height: 1.55; margin: 6px 0 0; max-width: 440px; }
.z4-verification-waiting.is-setup > span { background: var(--ex-brand-soft); color: var(--ex-brand-dark); }
.z4-verification-waiting.is-agreement { min-height: 170px; }
.z4-verification-ready-note, .z4-verification-recorded { background: #fff8e9; border: 1px solid #e8c77f; border-radius: 11px; display: grid; gap: 4px; margin-bottom: 18px; padding: 13px 14px; }
.z4-verification-ready-note span, .z4-verification-recorded p, .z4-verification-recorded small { color: var(--ex-muted); margin: 0; overflow-wrap: anywhere; }
.z4-verification-recorded { background: #eef9f3; border-color: #b8d6bf; }
.z4-platform-setup { border: 1px solid #eee9e7 !important; border-radius: 11px; margin-top: 18px !important; padding: 0 !important; }
.z4-platform-setup > summary { color: var(--ex-brand); cursor: pointer; font-weight: 800; padding: 14px; }
.z4-platform-setup[open] > summary { border-bottom: 1px solid #eee9e7; }
.z4-platform-setup > form, .z4-platform-setup-note { margin: 0; padding: 16px; }
.z4-platform-setup-note { background: #fff8e9; color: #714e08; }
[data-exhibitions-verification] .z4-verification-artist-form { border-top: 1px solid #eee9e7; margin-top: 20px; padding-top: 20px; }
[data-exhibitions-verification] .z4-verification-agreement-panel { margin-bottom: 24px; }
[data-exhibitions-verification] .z4-exhibitions-panel > .z4-verification-pill { margin-bottom: 4px; }
[data-exhibitions-verification] .z4-verification-step-panel { margin-bottom: 24px; min-height: 360px; }
[data-exhibitions-verification] .z4-verification-screen-actions { margin: -4px 0 24px; }
[data-exhibitions-verification] .z4-verification-screen-actions button { min-width: 220px; }
[data-exhibitions-verification] .z4-payout-account-fields { display: grid; gap: 12px; }
[data-exhibitions-verification] .z4-payout-account-fields[hidden] { display: none; }
[data-exhibitions-verification] .z4-payout-provider-field[hidden] { display: none; }
[data-exhibitions-verification] .z4-payout-pickup-note { background: #fff8e9; border: 1px solid #e8c77f; border-radius: 11px; color: #714e08; padding: 14px 16px; }
[data-exhibitions-verification] .z4-payout-pickup-note p { color: inherit; line-height: 1.55; margin: 5px 0 0; }
[data-exhibitions-verification][data-payout-only] .z4-exhibitions-container { max-width: 960px; }
[data-exhibitions-verification][data-payout-only] .z4-payout-only-card { margin: 0; min-height: 0; padding: clamp(22px, 4vw, 34px); }
[data-exhibitions-verification][data-payout-only] .z4-payout-only-title { margin-bottom: 4px; }
[data-exhibitions-verification][data-payout-only] .z4-payout-only-title h1 { color: var(--ex-ink); font-size: clamp(26px, 3vw, 34px); letter-spacing: -.025em; margin: 0; }
[data-exhibitions-verification][data-payout-only] .z4-payout-only-title p { line-height: 1.6; max-width: 720px; }
[data-exhibitions-verification][data-payout-only] .z4-verification-artist-form { margin-top: 22px; }
[data-exhibitions-verification][data-payout-only] .z4-verification-artist-form > button { justify-self: start; min-width: 140px; }
@media(max-width:700px){[data-exhibitions-verification][data-payout-only] .z4-payout-only-card{padding:20px 16px}[data-exhibitions-verification][data-payout-only] .z4-verification-artist-form>button{justify-self:stretch;width:100%}}

/* Artist profile: one readable profile column with compact account-status cards. */
[data-artist-dashboard-profile] .z4-artist-profile-grid { align-items: start; display: grid; gap: 20px; grid-template-columns: minmax(0, 1.45fr) minmax(310px, .75fr); }
[data-artist-dashboard-profile] .z4-artist-profile-main,
[data-artist-dashboard-profile] .z4-artist-profile-card { min-width: 0; }
[data-artist-dashboard-profile] .z4-artist-profile-editor { display: grid; gap: 20px; min-width: 0; }
[data-artist-dashboard-profile] .z4-artist-profile-main { padding: clamp(22px, 3vw, 30px); }
[data-artist-dashboard-profile] .z4-artist-profile-form { margin-top: 22px; }
[data-artist-dashboard-profile] .z4-artist-profile-form fieldset { background: #fcfaf9; padding: 18px; }
[data-artist-dashboard-profile] .z4-artist-profile-form legend { color: var(--ex-brand-dark); font-size: 14px; font-weight: 850; padding: 0 7px; }
[data-artist-dashboard-profile] .z4-artist-profile-form-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
[data-artist-dashboard-profile] .z4-artist-profile-form-grid > .is-wide { grid-column: 1 / -1; }
[data-artist-dashboard-profile] form.z4-artist-profile-form fieldset .z4-artist-profile-form-grid > label {
    align-content: start;
    display: grid !important;
    gap: 7px;
    grid-template-columns: minmax(0, 1fr) !important;
    min-width: 0;
}
[data-artist-dashboard-profile] form.z4-artist-profile-form fieldset .z4-artist-profile-form-grid > label > span,
[data-artist-dashboard-profile] form.z4-artist-profile-form fieldset .z4-artist-profile-form-grid > label > small { display: block; }
[data-artist-dashboard-profile] .z4-artist-profile-form fieldset label > :is(input,textarea,select) { min-width: 0; width: 100%; }
[data-artist-dashboard-profile] .z4-artist-profile-form > button,
[data-artist-dashboard-profile] .z4-artist-password-form > button { justify-self: start; min-width: 190px; }
[data-artist-dashboard-profile] .z4-artist-profile-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
[data-artist-dashboard-profile] .z4-artist-profile-details > div { border-bottom: 1px solid #eee9e7; min-width: 0; padding: 16px 10px; }
[data-artist-dashboard-profile] .z4-artist-profile-details > div:nth-last-child(-n+2) { border-bottom: 0; }
[data-artist-dashboard-profile] .z4-artist-profile-details > .is-wide { grid-column: 1 / -1; }
[data-artist-dashboard-profile] .z4-artist-profile-details dt { color: var(--ex-muted); font-size: 11px; font-weight: 800; letter-spacing: .035em; text-transform: uppercase; }
[data-artist-dashboard-profile] .z4-artist-profile-details dd { color: var(--ex-ink); line-height: 1.6; margin: 5px 0 0; min-width: 0; overflow-wrap: anywhere; }
[data-artist-dashboard-profile] .z4-artist-profile-details .is-biography dd { max-width: 760px; white-space: pre-wrap; word-break: break-word; }
[data-artist-dashboard-profile] .z4-artist-profile-sidebar { display: grid; gap: 16px; min-width: 0; }
[data-artist-dashboard-profile] .z4-artist-profile-card { padding: 22px; }
[data-artist-dashboard-profile] .z4-artist-profile-card .z4-exhibitions-section-title { margin-bottom: 18px; }
[data-artist-dashboard-profile] .z4-artist-profile-status-row { align-items: flex-start; background: #faf8f7; border: 1px solid #eee9e7; border-radius: 12px; display: flex; gap: 14px; justify-content: space-between; padding: 14px; }
[data-artist-dashboard-profile] .z4-artist-profile-record + .z4-artist-profile-status-row { margin-top: 12px; }
[data-artist-dashboard-profile] .z4-artist-profile-status-row > div { display: grid; gap: 4px; min-width: 0; }
[data-artist-dashboard-profile] .z4-artist-profile-status-row strong,
[data-artist-dashboard-profile] .z4-artist-profile-status-row span,
[data-artist-dashboard-profile] .z4-artist-profile-status-row small { overflow-wrap: anywhere; }
[data-artist-dashboard-profile] .z4-artist-profile-status-row small,
[data-artist-dashboard-profile] .z4-artist-profile-status-row > div > span { color: var(--ex-muted); }
[data-artist-dashboard-profile] .z4-artist-profile-record { background: #faf8f7; border: 1px solid #eee9e7; border-radius: 12px; display: grid; gap: 5px; padding: 14px; }
[data-artist-dashboard-profile] .z4-artist-profile-record strong { color: var(--ex-ink); overflow-wrap: anywhere; }
[data-artist-dashboard-profile] .z4-artist-profile-record span,
[data-artist-dashboard-profile] .z4-artist-profile-record small { color: var(--ex-muted); overflow-wrap: anywhere; }
[data-artist-dashboard-profile] .z4-artist-profile-empty { align-content: center; background: #faf8f7; border: 1px dashed #d9cfcb; border-radius: 12px; color: var(--ex-muted); display: grid; gap: 5px; min-height: 92px; padding: 16px; text-align: center; }
[data-artist-dashboard-profile] .z4-artist-profile-empty strong { color: var(--ex-ink); }
[data-artist-dashboard-profile] .z4-artist-profile-action { margin-top: 14px; width: 100%; }

@media(max-width:1000px){[data-artist-dashboard-profile] .z4-artist-profile-grid{grid-template-columns:1fr}[data-artist-dashboard-profile] .z4-artist-profile-sidebar{grid-template-columns:repeat(2,minmax(0,1fr))}[data-artist-dashboard-profile] .z4-artist-profile-sidebar>section:first-child{grid-column:1/-1}}
@media(max-width:700px){[data-artist-dashboard-profile] .z4-artist-profile-details,[data-artist-dashboard-profile] .z4-artist-profile-sidebar,[data-artist-dashboard-profile] .z4-artist-profile-form-grid{grid-template-columns:1fr}[data-artist-dashboard-profile] .z4-artist-profile-details>.is-wide,[data-artist-dashboard-profile] .z4-artist-profile-sidebar>section:first-child,[data-artist-dashboard-profile] .z4-artist-profile-form-grid>.is-wide{grid-column:auto}[data-artist-dashboard-profile] .z4-artist-profile-details>div{border-bottom:1px solid #eee9e7!important;padding-inline:4px}[data-artist-dashboard-profile] .z4-artist-profile-details>div:last-child{border-bottom:0!important}[data-artist-dashboard-profile] .z4-artist-profile-main,[data-artist-dashboard-profile] .z4-artist-profile-card{padding:20px 16px}[data-artist-dashboard-profile] .z4-artist-profile-form>button,[data-artist-dashboard-profile] .z4-artist-password-form>button{justify-self:stretch;width:100%}}

/* Artist workspace actions: direct, discoverable access to audited account-state management. */
[data-admin-workspace="artists"] .z4-exhibitions-table th:nth-child(1) { width: 15%; }
[data-admin-workspace="artists"] .z4-exhibitions-table th:nth-child(2) { width: 12%; }
[data-admin-workspace="artists"] .z4-exhibitions-table th:nth-child(3) { width: 25%; }
[data-admin-workspace="artists"] .z4-exhibitions-table th:nth-child(4) { width: 17%; }
[data-admin-workspace="artists"] .z4-exhibitions-table th:nth-child(5) { width: 18%; }
[data-admin-workspace="artists"] .z4-exhibitions-table th:nth-child(6) { width: 13%; }
[data-admin-workspace="artists"] .z4-workspace-row-action { text-align: right; }
[data-admin-workspace="artists"] .z4-workspace-row-action a { align-items: center; background: var(--ex-brand); border-radius: 9px; color: #fff; display: inline-flex; font-size: 12px; font-weight: 800; justify-content: center; min-height: 38px; padding: 8px 12px; text-decoration: none; white-space: nowrap; }
[data-admin-workspace="artists"] .z4-workspace-row-action a:hover { background: var(--ex-brand-dark); }
[data-artist-account-actions] { scroll-margin-top: 90px; }
@media(max-width:700px){[data-admin-workspace="artists"] .z4-exhibitions-table td:nth-child(5),[data-admin-workspace="artists"] .z4-workspace-row-action{grid-column:1/-1}[data-admin-workspace="artists"] .z4-workspace-row-action{text-align:left}[data-admin-workspace="artists"] .z4-workspace-row-action a{width:100%}}
.z4-verification-settings-link { margin-top: 16px; }
.z4-verification-manager-note { color: var(--ex-muted); line-height: 1.55; margin: 14px 0 0; }
.z4-agreement-settings-grid { align-items: start; display: grid; gap: 24px; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.z4-agreement-version-list { display: grid; gap: 12px; }
.z4-agreement-version-list > article { background: #faf8f7; border: 1px solid #eee9e7; border-radius: 12px; min-width: 0; padding: 15px; }
.z4-agreement-version-list > article.is-default { border-color: #b8d6bf; box-shadow: 0 0 0 1px #b8d6bf inset; }
.z4-agreement-version-list > article.is-archived { opacity: .68; }
.z4-agreement-version-list article > header { align-items: flex-start; display: flex; gap: 14px; justify-content: space-between; }
.z4-agreement-version-list article > header strong, .z4-agreement-version-list article > header span { display: block; overflow-wrap: anywhere; }
.z4-agreement-version-list article > header span { color: var(--ex-muted); font-size: 12px; margin-top: 5px; }
.z4-agreement-badges { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: 5px; justify-content: flex-end; }
.z4-agreement-badges b { background: var(--ex-green-soft); border-radius: 999px; color: var(--ex-green); font-size: 10px; padding: 5px 8px; }
.z4-agreement-badges b.is-active { background: #eef9f3; color: #17653b; }
.z4-agreement-badges b.is-archived { background: #efebe9; color: #655650; }
.z4-agreement-version-list dl { display: grid; gap: 8px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 14px 0; }
.z4-agreement-version-list dl div { border-top: 1px solid #e8e1de; padding-top: 9px; }
.z4-agreement-version-list dt { color: var(--ex-muted); font-size: 10px; text-transform: uppercase; }
.z4-agreement-version-list dd { font-weight: 750; margin: 3px 0 0; overflow-wrap: anywhere; }
.z4-agreement-version-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.z4-agreement-version-actions button { background: var(--ex-brand); border: 1px solid var(--ex-brand); border-radius: 9px; color: #fff; cursor: pointer; font-weight: 800; min-height: 40px; padding: 8px 12px; }
.z4-agreement-version-actions button.is-secondary { background: #fff; border-color: var(--ex-border); color: var(--ex-ink); }
[data-exhibitions-agreements] .z4-exhibitions-consent { background: #faf8f7; border: 1px solid #eee9e7; border-radius: 10px; gap: 10px; padding: 12px; }
[data-exhibitions-agreements] .z4-exhibitions-consent input { accent-color: var(--ex-brand); flex: 0 0 18px; height: 18px; width: 18px; }
.z4-exhibitions-inline-form { align-items: center; display: flex; gap: 9px; margin: 14px 0; }
.z4-exhibitions-inline-form select { border: 1px solid var(--ex-border); border-radius: 9px; min-width: 0; padding: 10px; width: 100%; }
.z4-exhibitions-inline-form button, .z4-exhibitions-panel form > .z4-exhibitions-button { background: var(--ex-brand); border: 0; border-radius: 9px; color: #fff !important; cursor: pointer; font-weight: 800; padding: 11px 14px; white-space: nowrap; }
.z4-exhibitions-panel details { border-top: 1px solid #eee9e7; margin-top: 18px; padding-top: 16px; }
.z4-exhibitions-panel summary { color: var(--ex-brand); cursor: pointer; font-weight: 800; margin-bottom: 16px; }
.z4-exhibitions-panel hr { border: 0; border-top: 1px solid #eee9e7; margin: 22px 0; }
.z4-artist-dashboard-header { align-items: flex-start; display: flex; gap: 24px; justify-content: space-between; margin-bottom: 26px; }
.z4-artist-dashboard-header h1 { color: var(--ex-ink); font-size: clamp(32px,4vw,52px); letter-spacing: -.04em; line-height: 1.05; margin: 5px 0 8px; }
.z4-artist-dashboard-header p { color: var(--ex-muted); font-size: 16px; margin: 0; max-width: 720px; }
.z4-artist-profile-link { background: #fff; border: 1px solid var(--ex-border); border-radius: 999px; color: var(--ex-brand); font-weight: 800; max-width: 320px; overflow-wrap: anywhere; padding: 10px 14px; text-decoration: none; }
.z4-artist-account-chip { align-items: center; background: #fff; border: 1px solid var(--ex-border); border-radius: 999px; color: var(--ex-brand); display: inline-flex; flex: 0 0 auto; font-size: 13px; font-weight: 800; max-width: 320px; min-height: 40px; overflow-wrap: anywhere; padding: 9px 14px; }
.z4-artist-dashboard-nav { background: #fff; border: 1px solid var(--ex-border); border-radius: 14px; display: flex; gap: 4px; margin-bottom: 20px; overflow-x: auto; padding: 6px; scrollbar-width: thin; }
.z4-artist-dashboard-nav a { align-items: center; border-radius: 9px; color: var(--ex-muted); display: flex; flex: 0 0 auto; font-size: 13px; font-weight: 750; gap: 7px; padding: 10px 12px; text-decoration: none; }
.z4-artist-dashboard-nav a.is-active { background: var(--ex-brand); color: #fff !important; }
.z4-artist-dashboard-nav a.is-active > span { color: #fff !important; }
.z4-artist-dashboard-nav b { align-items: center; background: #f1e7e5; border-radius: 999px; color: var(--ex-brand); display: inline-flex; font-size: 10px; height: 20px; justify-content: center; min-width: 20px; padding: 0 5px; }
.z4-artist-dashboard-nav a.is-active b { background: rgba(255,255,255,.2); color: #fff; }
.z4-artist-metrics { display: grid; gap: 10px; grid-template-columns: repeat(4,minmax(0,1fr)); margin-bottom: 20px; }
.z4-artist-metrics article, .z4-artist-finance-metrics article { background: #fff; border: 1px solid var(--ex-border); border-radius: 13px; display: grid; min-width: 0; padding: 15px; }
.z4-artist-metrics span, .z4-artist-finance-metrics span { color: var(--ex-muted); font-size: 12px; font-weight: 700; }
.z4-artist-metrics strong, .z4-artist-finance-metrics strong { color: var(--ex-ink); font-size: 24px; margin: 7px 0 3px; overflow-wrap: anywhere; }
.z4-artist-metrics small { color: var(--ex-muted); font-size: 10px; }
.z4-artist-finance-metrics { display: grid; gap: 10px; grid-template-columns: repeat(3,minmax(0,1fr)); margin-bottom: 20px; }
.z4-sales-summary { gap: 12px; }
.z4-sales-summary article { border-color: #e6d9d6; box-shadow: 0 8px 24px rgba(47,31,28,.045); min-height: 120px; padding: 18px 20px; }
.z4-sales-summary article:nth-child(3n + 3) { background: linear-gradient(135deg,#fff 0%,#fff8f7 100%); border-color: #dfc0bc; }
.z4-sales-summary strong { font-size: clamp(24px,2.4vw,32px); letter-spacing: -.025em; line-height: 1.15; }
.z4-sales-summary small { color: var(--ex-muted); font-size: 11px; }
.z4-artist-sales-panel { overflow: hidden; padding: 24px; }
.z4-artist-sales-table { min-width: 0 !important; table-layout: fixed; width: 100%; }
.z4-artist-sales-table th { color: var(--ex-brand-dark); font-size: 11px; letter-spacing: .025em; line-height: 1.35; padding: 14px 12px; vertical-align: middle; }
.z4-artist-sales-table th:nth-child(1) { width: 25%; }
.z4-artist-sales-table th:nth-child(2) { width: 12%; }
.z4-artist-sales-table th:nth-child(3) { width: 12%; }
.z4-artist-sales-table th:nth-child(4) { width: 15%; }
.z4-artist-sales-table th:nth-child(5) { width: 13%; }
.z4-artist-sales-table th:nth-child(6) { width: 12%; }
.z4-artist-sales-table th:nth-child(7) { width: 11%; }
.z4-artist-sales-table td { padding: 18px 12px; vertical-align: top; }
.z4-artist-sales-table tbody tr { transition: background-color .18s ease; }
.z4-artist-sales-table tbody tr:hover { background: #fffaf9; }
.z4-sale-artwork-title { display: block; line-height: 1.5; overflow-wrap: anywhere; }
.z4-sale-date { color: var(--ex-muted); display: block; font-size: 10px; line-height: 1.4; margin-top: 7px; }
.z4-sale-status-stack { align-items: flex-start; display: grid; gap: 6px; }
.z4-sale-status-stack small { color: var(--ex-muted); font-size: 11px; line-height: 1.3; }
.z4-sale-status { background: var(--ex-brand-soft); border-radius: 999px; color: var(--ex-brand-dark); display: inline-flex; font-size: 10px; font-weight: 800; line-height: 1.2; max-width: 100%; padding: 7px 9px; text-align: center; width: fit-content; }
.z4-sale-status.is-confirmed,.z4-sale-status.is-delivered,.z4-sale-status.is-paid,.z4-sale-status.is-settled { background: #e7f4ec; color: #17653b; }
.z4-sale-status.is-pending-sale,.z4-sale-status.is-pending,.z4-sale-status.is-new { background: #fff1dc; color: #80520b; }
.z4-sale-status.is-return-window,.z4-sale-status.is-eligible-for-settlement { background: #eaf1f8; color: #295a7a; }
.z4-sale-money { color: var(--ex-ink); display: inline-flex; flex-wrap: nowrap; font-variant-numeric: tabular-nums; gap: 4px; line-height: 1.4; white-space: nowrap; }
.z4-sale-money small { color: var(--ex-muted); font-size: .78em; font-weight: 750; padding-top: .15em; }
.z4-sale-money.is-earnings { color: var(--ex-brand-dark); }
.z4-sale-action { text-align: right; }
.z4-sale-action .z4-exhibitions-button { font-size: 12px; gap: 5px; min-height: 42px; padding: 9px 10px; white-space: nowrap; }
.z4-sale-action .z4-exhibitions-button span { font-size: 15px; }
@media (min-width: 1101px) {
    .z4-artist-sales-panel .z4-exhibitions-table-wrap { overflow-x: hidden; }
}
.z4-artist-task { background: #fff7e7; border: 1px solid #f1ce84; border-radius: 10px; color: var(--ex-ink); display: grid; gap: 4px; margin-bottom: 9px; padding: 13px; text-decoration: none; }
.z4-artist-task span, .z4-artist-notification span { color: var(--ex-muted); font-size: 12px; line-height: 1.5; }
.z4-artist-notification { border-bottom: 1px solid #eee9e7; display: grid; gap: 3px; padding: 11px 0; }
.z4-artist-notification:last-child { border-bottom: 0; }
.z4-artist-truthful-empty { border-left: 4px solid var(--ex-brand); margin-top: 20px; }
.z4-artist-truthful-empty h2 { color: var(--ex-ink); margin: 0 0 8px; }
.z4-artist-truthful-empty p { color: var(--ex-muted); margin: 0; }
.z4-artist-filter-strip { display: flex; gap: 7px; margin-bottom: 16px; overflow-x: auto; padding-bottom: 4px; }
.z4-artist-filter-strip a { background: #fff; border: 1px solid var(--ex-border); border-radius: 999px; color: var(--ex-muted); flex: 0 0 auto; font-size: 12px; font-weight: 750; padding: 8px 11px; text-decoration: none; }
.z4-artist-filter-strip a.is-active { background: var(--ex-brand); color: #fff !important; }
.z4-artist-filter-strip a.is-active > span, .z4-artist-filter-strip a.is-active > b { color: #fff !important; }
.z4-artist-filter-strip b { margin-left: 4px; }
.z4-ve-published-filters { align-items: end; background: #faf8f7; border: 1px solid var(--ex-border); border-radius: 14px; display: grid; gap: 12px; grid-template-columns: minmax(220px, 1.6fr) repeat(3, minmax(150px, 1fr)) auto; margin: 20px 0 10px; padding: 14px; }
.z4-ve-published-filters label { display: grid; gap: 6px; min-width: 0; }
.z4-ve-published-filters label > span { color: var(--ex-muted); font-size: 11px; font-weight: 800; letter-spacing: .025em; text-transform: uppercase; }
.z4-ve-published-filters input, .z4-ve-published-filters select { background: #fff; border: 1px solid var(--ex-border); border-radius: 10px; color: var(--ex-ink); min-height: 44px; padding: 10px 12px; width: 100%; }
.z4-ve-published-filters input:focus, .z4-ve-published-filters select:focus { border-color: var(--ex-brand); box-shadow: 0 0 0 3px rgba(169,0,0,.1); outline: 0; }
.z4-ve-published-filters button { background: var(--ex-brand); border: 0; border-radius: 10px; color: #fff; cursor: pointer; font-weight: 800; min-height: 44px; padding: 10px 16px; white-space: nowrap; }
.z4-ve-filter-summary { align-items: center; color: var(--ex-muted); display: flex; font-size: 12px; gap: 14px; justify-content: space-between; margin-bottom: 10px; padding: 0 2px; }
.z4-ve-filter-summary strong { color: var(--ex-ink); }
.z4-ve-filter-summary a { color: var(--ex-brand); font-weight: 800; }
@media(max-width:1100px) { .z4-ve-published-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); } .z4-ve-published-filters .is-search { grid-column: 1 / -1; } .z4-ve-published-filters button { width: 100%; } }
@media(max-width:700px) { .z4-ve-published-filters { grid-template-columns: 1fr; } .z4-ve-published-filters .is-search { grid-column: auto; } .z4-ve-filter-summary { align-items: flex-start; flex-direction: column; } }
.z4-artist-ticket-list { display: grid; gap: 9px; }
.z4-artist-ticket-list > a { align-items: center; background: #faf8f7; border: 1px solid #eee9e7; border-radius: 10px; color: var(--ex-ink); display: flex; gap: 12px; justify-content: space-between; padding: 13px; text-decoration: none; }
.z4-artist-ticket-list strong, .z4-artist-ticket-list span { display: block; }
.z4-artist-ticket-list span { color: var(--ex-muted); font-size: 11px; margin-top: 4px; }
.z4-artist-ticket-list b, .z4-artist-ticket-meta b { background: var(--ex-brand-soft); border-radius: 999px; color: var(--ex-brand); flex: 0 0 auto; font-size: 11px; padding: 6px 9px; }
.z4-artist-ticket-meta { align-items: center; display: flex; justify-content: space-between; margin-bottom: 16px; }
.z4-artist-message-list { display: grid; gap: 10px; }
.z4-artist-message-list article { background: #faf8f7; border-radius: 12px; padding: 14px; }
.z4-artist-message-list article.is-platform { background: var(--ex-brand-soft); }
.z4-artist-message-list header { align-items: center; display: flex; gap: 12px; justify-content: space-between; }
.z4-artist-message-list time { color: var(--ex-muted); font-size: 10px; }
.z4-artist-message-list p { line-height: 1.6; margin: 8px 0 0; overflow-wrap: anywhere; white-space: pre-wrap; }
.z4-exhibitions-conditional { display: grid; gap: 18px; grid-column: 1 / -1; grid-template-columns: repeat(2,minmax(0,1fr)); }
.z4-exhibitions-field-span { grid-column: 1 / -1; }
.z4-exhibitions-actions-top { justify-content: flex-start; margin-bottom: 16px; }
.z4-exhibitions-button.is-secondary { background: #fff; border: 1px solid var(--ex-border); color: var(--ex-ink) !important; -webkit-text-fill-color: var(--ex-ink) !important; }
.z4-artwork-list { display: grid; gap: 10px; }
.z4-artwork-list-item { align-items: center; background: #fff; border: 1px solid #e9e2df; border-radius: 14px; box-shadow: 0 1px 2px rgba(63,22,18,.04); display: grid; gap: 18px; grid-template-columns: minmax(0,1fr) 232px; padding: 14px 16px; transition: border-color .18s ease,box-shadow .18s ease,transform .18s ease; }
.z4-artwork-list-item:hover { border-color: #dacbc7; box-shadow: 0 8px 22px rgba(63,22,18,.07); transform: translateY(-1px); }
.z4-artwork-list-main { align-items: center; border-radius: 9px; color: var(--ex-ink); display: flex; gap: 18px; justify-content: space-between; min-width: 0; padding: 4px 0; text-decoration: none; }
.z4-artwork-list-main:hover strong { color: var(--ex-brand); text-decoration: underline; text-underline-offset: 3px; }
.z4-artwork-list-copy { min-width: 0; padding-left: 1px; }
.z4-artwork-list strong,.z4-artwork-list span { display: block; }
.z4-artwork-list strong { font-size: 14px; line-height: 1.35; }
.z4-artwork-list span { color: var(--ex-muted); font-size: 11px; line-height: 1.45; margin-top: 5px; }
.z4-artwork-list b { background: var(--ex-brand-soft); border: 1px solid rgba(164,0,0,.06); border-radius: 999px; color: var(--ex-brand-dark); flex: 0 0 auto; font-size: 10px; letter-spacing: .01em; padding: 7px 10px; }
.z4-view-work-action { align-items: center; background: #fff; border: 1px solid #d7c8c4; border-radius: 10px; color: var(--ex-brand) !important; display: inline-flex; font-size: 11px; font-weight: 800; gap: 7px; justify-content: center; min-height: 40px; padding: 8px 10px; text-decoration: none; white-space: nowrap; width: 100%; }
.z4-view-work-action:hover { background: var(--ex-brand-soft); color: var(--ex-brand-dark) !important; }
.z4-view-work-action svg { flex: 0 0 auto; }
.z4-artwork-list-actions { align-items: stretch; border-left: 1px solid #eee7e4; display: grid; gap: 8px; grid-template-columns: repeat(2,minmax(0,1fr)); min-width: 0; padding-left: 16px; }
.z4-artwork-list-actions form { display: flex; margin: 0; min-width: 0; }
.z4-duplicate-work-action { align-items: center; background: #fff4f2; border: 1px solid #e8bbb5; border-radius: 10px; color: var(--ex-brand); cursor: pointer; display: inline-flex; font: inherit; font-size: 11px; font-weight: 800; gap: 7px; justify-content: center; min-height: 40px; padding: 8px 10px; white-space: nowrap; width: 100%; }
.z4-duplicate-work-action:hover { background: var(--ex-brand); border-color: var(--ex-brand); color: #fff; }
.z4-view-work-action:focus-visible,.z4-duplicate-work-action:focus-visible { outline: 3px solid rgba(164,0,0,.2); outline-offset: 2px; }
.z4-duplicate-work-action svg { flex: 0 0 auto; }
.z4-artwork-preview-card { background: #fff; border: 1px solid var(--ex-border); border-radius: 18px; display: grid; gap: 28px; grid-template-columns: minmax(280px,1fr) minmax(0,1fr); margin-bottom: 18px; overflow: hidden; padding: 24px; }
.z4-artwork-preview-placeholder { align-items: center; aspect-ratio: 4/3; background: linear-gradient(135deg,#f1e7e5,#faf8f7); border-radius: 13px; color: var(--ex-muted); display: flex; justify-content: center; text-align: center; }
.z4-artwork-preview-image { aspect-ratio: 4/3; border-radius: 13px; height: 100%; object-fit: contain; width: 100%; }
.z4-artwork-preview-card h2 { color: var(--ex-ink); font-size: clamp(28px,4vw,48px); margin: 14px 0 8px; }
.z4-artwork-preview-card p { color: var(--ex-muted); line-height: 1.7; }
.z4-artwork-preview-card dl { display: grid; gap: 10px; grid-template-columns: repeat(2,minmax(0,1fr)); }
.z4-artwork-preview-card dt { color: var(--ex-muted); font-size: 11px; text-transform: uppercase; }
.z4-artwork-preview-card dd { color: var(--ex-ink); margin: 3px 0 0; }
.z4-artwork-media-grid { display: grid; gap: 16px; grid-template-columns: repeat(3,minmax(0,1fr)); margin-bottom: 18px; }
.z4-artwork-media-grid article { background: #faf8f7; border: 1px solid #eee9e7; border-radius: 13px; display: grid; gap: 10px; min-width: 0; overflow: hidden; padding: 12px; }
.z4-artwork-media-grid article > img { aspect-ratio: 4/3; background: #eee; border-radius: 9px; object-fit: contain; width: 100%; }
.z4-artwork-media-grid article span { color: var(--ex-muted); display: block; font-size: 11px; margin-top: 3px; }
.z4-artwork-media-grid article b { background: var(--ex-green-soft); border-radius: 999px; color: var(--ex-green); display: inline-block; font-size: 10px; margin-top: 7px; padding: 4px 7px; }
.z4-artwork-media-grid article input[type="number"] { border: 1px solid var(--ex-border); border-radius: 8px; padding: 8px; width: 100%; }
.z4-artwork-media-order { align-items: center; display: grid; gap: 7px; grid-template-columns: 1fr 62px 1fr; }
.z4-artwork-media-order > span { grid-column: 1 / -1; margin: 0; }
.z4-artwork-media-order button { background: #fff; border: 1px solid var(--ex-border); border-radius: 8px; color: var(--ex-brand-dark); cursor: pointer; min-height: 40px; padding: 7px 9px; }
.z4-artwork-media-order input[readonly] { background: #f7f3f2; color: var(--ex-brand-dark); font-weight: 800; text-align: center; }
.z4-artwork-media-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 7px; }
.z4-artwork-media-actions button,.z4-artwork-media-actions a,.z4-artwork-media-actions label { background: #fff; border: 1px solid var(--ex-border); border-radius: 8px; color: var(--ex-brand); cursor: pointer; font-size: 11px; font-weight: 750; padding: 7px 9px; text-decoration: none; }
.z4-artwork-media-actions label input { display: block; margin-top: 6px; max-width: 150px; }
.z4-artwork-media-actions .is-danger { background: #fff0ef; color: #8c1d18; }
.z4-media-upload-status { align-items: center; background: #f7f3f2; border: 1px solid var(--ex-border); border-radius: 10px; color: var(--ex-brand-dark); display: flex; gap: 10px; justify-content: space-between; margin: 14px 0; padding: 11px 13px; }
.z4-media-upload-status[hidden] { display: none; }
.z4-media-upload-status button { background: #fff; border: 1px solid var(--ex-brand); border-radius: 8px; color: var(--ex-brand-dark); cursor: pointer; min-height: 40px; padding: 7px 12px; }
.z4-exhibitions-upload strong,.z4-exhibitions-upload small,.z4-exhibitions-upload [data-media-selection] { display: block; }
.z4-exhibitions-upload small,.z4-exhibitions-upload [data-media-selection] { color: var(--ex-muted); font-size: 11px; font-weight: 500; margin-top: 6px; }
.z4-media-upload-heading { align-items: end; display: flex; gap: 18px; justify-content: space-between; margin-bottom: 14px; }
.z4-media-upload-heading > div { display: grid; gap: 5px; }
.z4-media-upload-heading small,.z4-media-upload-toolbar small { color: var(--ex-muted); line-height: 1.5; }
.z4-media-upload-heading > span { background: var(--ex-brand-soft); border-radius: 999px; color: var(--ex-brand-dark); flex: 0 0 auto; font-size: 11px; font-weight: 800; padding: 7px 10px; }
.z4-media-upload-items { display: grid; gap: 12px; }
.z4-media-upload-item { align-items: start; background: #faf8f7; border: 1px solid #e8deda; border-radius: 13px; display: grid !important; gap: 14px; grid-template-columns: minmax(210px,.7fr) minmax(320px,1.3fr) auto !important; padding: 16px; }
.z4-media-upload-item > label { align-content: start; display: grid; gap: 7px; min-width: 0; }
.z4-media-upload-item .z4-exhibitions-upload { min-height: 104px; padding: 14px; }
.z4-media-remove-item { align-self: center; background: #fff !important; border: 1px solid var(--ex-brand) !important; color: var(--ex-brand) !important; justify-self: end !important; min-height: 44px; padding-inline: 14px !important; }
.z4-media-remove-item:hover { background: var(--ex-brand-soft) !important; }
.z4-media-upload-toolbar { align-items: end; border-top: 1px solid #eee6e3; display: flex; gap: 18px; justify-content: space-between; margin-top: 18px; padding-top: 18px; }
.z4-media-upload-toolbar > div { align-items: center; display: flex; gap: 12px; }
.z4-media-upload-toolbar .z4-exhibitions-button { margin: 0; }
.z4-media-upload-toolbar [data-add-media-item] { background: #fff !important; border: 1px solid var(--ex-brand) !important; color: var(--ex-brand) !important; }
.z4-media-upload-toolbar [data-media-upload-submit] { background: var(--ex-brand) !important; color: #fff !important; min-width: 150px; }
.z4-media-upload-toolbar button:disabled { cursor: not-allowed; opacity: .6; }

html:has(.z4-exhibitions-admin), body:has(.z4-exhibitions-admin) { overflow-x: clip; }

@media (max-width: 900px) {
    .z4-exhibitions-grid {
        grid-template-columns: 1fr;
    }

    .z4-exhibitions-columns {
        grid-template-columns: 1fr;
    }

    .z4-agreement-settings-grid {
        grid-template-columns: 1fr;
    }

    [data-exhibitions-admin-review] .z4-exhibitions-columns {
        gap: 20px;
    }

    [data-exhibitions-admin-review] .z4-exhibitions-columns > aside {
        position: static;
    }

    .z4-exhibitions-counts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .z4-exhibitions-checks:has(article) { grid-template-columns: 1fr; }
    .z4-verification-stage-grid { grid-template-columns: 1fr; }
    .z4-artist-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .z4-artist-finance-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 700px) {
    [data-artist-sales] .z4-artist-finance-metrics { grid-template-columns: 1fr; }
    [data-artist-sales] .z4-sales-summary article { min-height: 104px; }
    [data-artist-sales] .z4-artist-sales-panel { background: transparent; border: 0; box-shadow: none; padding: 0; }
    [data-artist-sales] .z4-exhibitions-table-wrap { overflow: visible; }
    [data-artist-sales] .z4-artist-sales-table { display: block; min-width: 0 !important; }
    [data-artist-sales] .z4-artist-sales-table thead { display: none; }
    [data-artist-sales] .z4-artist-sales-table tbody { display: grid; gap: 14px; }
    [data-artist-sales] .z4-artist-sales-table tr { background: #fff; border: 1px solid var(--ex-border); border-radius: 14px; box-shadow: 0 8px 24px rgba(47,31,28,.045); display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); overflow: hidden; padding: 8px 16px; }
    [data-artist-sales] .z4-artist-sales-table td { border-bottom: 1px solid #eee7e4; display: grid; gap: 6px; padding: 13px 0; }
    [data-artist-sales] .z4-artist-sales-table td::before { color: var(--ex-muted); content: attr(data-label); font-size: 10px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
    [data-artist-sales] .z4-artist-sales-table td:first-child,[data-artist-sales] .z4-artist-sales-table td:nth-child(2),[data-artist-sales] .z4-artist-sales-table td:last-child { grid-column: 1/-1; }
    [data-artist-sales] .z4-artist-sales-table td:nth-last-child(2) { border-bottom: 0; }
    [data-artist-sales] .z4-sale-action { border-bottom: 0; padding-top: 8px; text-align: left; }
    [data-artist-sales] .z4-sale-action::before { display: none; }
    [data-artist-sales] .z4-sale-action .z4-exhibitions-button { width: 100%; }
    [data-exhibitions-admin-review] .z4-identity-document-grid {
        grid-template-columns: 1fr;
    }

    [data-exhibitions-admin-review] .z4-application-sample-preview {
        min-height: 0;
    }

    .z4-seller-readiness { grid-template-columns: 1fr; }
    .z4-seller-readiness-score { text-align: start; }
    .z4-exhibitions-admin {
        padding: 22px 16px 96px;
    }

    .z4-exhibitions-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .z4-exhibitions-status {
        align-self: flex-start;
    }

    .z4-exhibitions-card,
    .z4-exhibitions-panel {
        border-radius: 14px;
        padding: 18px;
    }

    .z4-verification-submission-list article {
        align-items: start;
        grid-template-columns: 38px minmax(0, 1fr);
    }

    .z4-verification-submission-list .z4-verification-pill {
        grid-column: 2;
    }

    .z4-verification-waiting {
        min-height: 150px;
        padding: 22px 16px;
    }

    .z4-exhibitions-panel-heading {
        align-items: flex-start;
        gap: 14px;
    }

    .z4-exhibitions-fields, .z4-exhibitions-details { grid-template-columns: 1fr; }
    .z4-exhibitions-actions { flex-direction: column-reverse; }
    .z4-exhibitions-actions button { width: 100%; }
    .z4-exhibitions-filters { grid-template-columns: 1fr; }
    .z4-exhibitions-counts { grid-template-columns: 1fr 1fr; }
    .z4-exhibitions-inline-form, .z4-exhibitions-agreement header { align-items: stretch; flex-direction: column; }
    .z4-artist-dashboard-header { flex-direction: column; }
    .z4-artist-profile-link { max-width: 100%; }
    .z4-artist-ticket-list > a { align-items: flex-start; flex-direction: column; }
    .z4-exhibitions-conditional,.z4-artwork-preview-card,.z4-artwork-preview-card dl { grid-template-columns: 1fr; }
    .z4-artwork-list-item { align-items: stretch; grid-template-columns: 1fr; }
    .z4-artwork-list-main { align-items: flex-start; flex-direction: column; }
    .z4-artwork-list-actions { border-left: 0; border-top: 1px solid #eee7e4; grid-template-columns: repeat(2,minmax(0,1fr)); min-width: 0; padding-left: 0; padding-top: 12px; width: 100%; }
    .z4-artwork-list-actions > *, .z4-artwork-list-actions button, .z4-artwork-list-actions a { width: 100%; }
    .z4-artwork-media-grid { grid-template-columns: 1fr; }
    .z4-artwork-media-actions { align-items: stretch; display: grid; grid-template-columns: 1fr; }
    .z4-artwork-media-actions > * { max-width: none; width: 100%; }
    .z4-artwork-media-order { grid-template-columns: 1fr 54px 1fr; }
    .z4-media-upload-status { align-items: stretch; flex-direction: column; }
    .z4-media-upload-heading { align-items: flex-start; flex-direction: column; }
    .z4-media-upload-item { grid-template-columns: 1fr !important; }
    .z4-media-upload-toolbar { align-items: stretch; flex-direction: column; }
    .z4-media-upload-toolbar > div { align-items: stretch; flex-direction: column; }
    .z4-media-upload-toolbar .z4-exhibitions-button,.z4-media-remove-item { justify-self: stretch !important; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .z4-exhibitions-admin * {
        scroll-behavior: auto !important;
    }
}
.z4-admin-metric-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:20px}.z4-admin-metric{background:#fff;border:1px solid var(--ex-border);border-radius:15px;color:var(--ex-ink);display:grid;gap:7px;min-width:0;padding:20px;text-decoration:none}.z4-admin-metric small,.z4-admin-metric span{color:var(--ex-muted)}.z4-admin-metric strong{font-size:clamp(28px,4vw,44px)}.z4-admin-workspaces{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.z4-admin-workspaces a{background:#faf8f7;border:1px solid #eee9e7;border-radius:11px;color:var(--ex-ink);display:grid;gap:4px;padding:15px;text-decoration:none}.z4-admin-workspaces span{color:var(--ex-muted);font-size:11px}.z4-admin-tabs{display:flex;gap:7px;margin-bottom:18px;overflow:auto;padding-bottom:5px}.z4-admin-tabs a{align-items:center;background:#fff;border:1px solid var(--ex-border);border-radius:999px;color:var(--ex-muted);display:flex;flex:0 0 auto;gap:7px;padding:9px 12px;text-decoration:none}.z4-admin-tabs a.is-active{background:var(--ex-brand);color:#fff}.z4-admin-tabs b{background:#f1e7e5;border-radius:999px;color:var(--ex-brand);font-size:10px;padding:3px 6px}.z4-admin-tabs a.is-active b{background:#ffffff33;color:#fff}.z4-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:20px}.z4-settings-grid h2{margin:7px 0 0}.z4-admin-pagination{margin-top:16px}.z4-exhibitions-filters{grid-template-columns:2fr 1fr 1fr auto}.z4-exhibitions-filters label{display:grid;gap:6px}.z4-exhibitions-filters input,.z4-exhibitions-filters select{border:1px solid var(--ex-border);border-radius:9px;padding:10px;width:100%}.z4-exhibitions-filters button{background:var(--ex-brand);border:0;border-radius:9px;color:#fff;font-weight:800;padding:11px 16px}@media(max-width:900px){.z4-admin-metric-grid,.z4-admin-workspaces{grid-template-columns:repeat(2,minmax(0,1fr))}.z4-settings-grid{grid-template-columns:1fr}}@media(max-width:700px){.z4-admin-metric-grid,.z4-admin-workspaces{grid-template-columns:1fr}.z4-exhibitions-filters{grid-template-columns:1fr}}
.z4-exhibitions-neutral-flag{display:block;margin-top:.5rem;padding:.55rem .7rem;border:1px solid #d9d1cf;background:#f7f4f3;color:#4f4543;border-radius:.5rem;font-size:.82rem;line-height:1.5}.z4-exhibitions-table{width:100%;border-collapse:collapse}.z4-exhibitions-table th,.z4-exhibitions-table td{padding:.85rem;border-bottom:1px solid #eadfdd;text-align:left;vertical-align:top}.z4-exhibitions-form fieldset{border:1px solid #eadfdd;border-radius:.7rem;padding:1rem;display:grid;gap:.55rem}.z4-exhibitions-form fieldset label{display:flex;gap:.55rem;align-items:flex-start}
.z4-exhibitions-price-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin:1rem 0}.z4-exhibitions-price-strip article{padding:1.1rem 1.25rem;border:1px solid #eadfdd;border-radius:.8rem;background:#fff;display:grid;gap:.35rem}.z4-exhibitions-price-strip article small{text-transform:uppercase;letter-spacing:.05em;color:#776b68}.z4-exhibitions-price-strip article strong{font-size:1.35rem}.z4-exhibitions-price-strip article.is-final{border-color:#c59d65;background:#fffaf2}@media(max-width:700px){.z4-exhibitions-price-strip{grid-template-columns:1fr}}
.z4-exhibitions-timeline li:not(:has(>span)){display:block;padding-left:30px}.z4-exhibitions-timeline li:not(:has(>span))::after{background:var(--ex-brand);border:3px solid var(--ex-brand-soft);border-radius:50%;content:"";height:16px;left:0;position:absolute;top:2px;width:16px}.z4-exhibitions-timeline li:not(:has(>span)) small{color:var(--ex-muted);display:block;font-size:11px;margin-top:4px}.z4-exhibitions-admin .z4-exhibitions-panel form{display:grid;gap:12px;margin-top:16px}.z4-exhibitions-admin .z4-exhibitions-panel form input:not([type=hidden]):not([type=file]),.z4-exhibitions-admin .z4-exhibitions-panel form select,.z4-exhibitions-admin .z4-exhibitions-panel form textarea{border:1px solid var(--ex-border);border-radius:10px;box-sizing:border-box;font:inherit;min-width:0;padding:12px 13px;width:100%}.z4-exhibitions-admin .z4-exhibitions-panel form button{background:var(--ex-brand);border:0;border-radius:10px;color:#fff;cursor:pointer;font-weight:800;justify-self:start;padding:12px 18px}@media(max-width:700px){.z4-exhibitions-admin .z4-exhibitions-panel form button{justify-self:stretch;width:100%}}
.z4-review-sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.z4-review-section-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin:1rem 0}.z4-review-section-summary article{padding:1rem;border:1px solid #eadfdd;border-radius:.8rem;background:#fff;display:grid;gap:.4rem}.z4-review-comments{list-style:none;padding:0;display:grid;gap:.8rem}.z4-review-comments li{padding:1rem;border-left:3px solid #a80000;background:#fffafa;border-radius:.4rem;display:grid;gap:.35rem}.z4-review-comments li>span{font-size:.78rem;color:#766}.z4-review-comments time{font-size:.75rem;color:#877}@media(max-width:900px){.z4-review-sections,.z4-review-section-summary{grid-template-columns:1fr}}

/* Artwork review queue */
[data-artwork-review-queue] .z4-review-queue-heading { margin-bottom: 20px; }
[data-artwork-review-queue] .z4-review-queue-heading p { max-width: 760px; }
.z4-review-queue-filters { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 18px; }
.z4-review-queue-filters a { align-items: center; background: #fff; border: 1px solid var(--ex-border); border-radius: 999px; color: var(--ex-text); display: inline-flex; font-size: 13px; font-weight: 750; gap: 8px; min-height: 42px; padding: 8px 14px; text-decoration: none; transition: border-color .16s ease, background-color .16s ease, color .16s ease; }
.z4-review-queue-filters a:hover { border-color: #c98e8e; color: var(--ex-brand); }
.z4-review-queue-filters a:focus-visible { outline: 3px solid rgba(142, 0, 0, .2); outline-offset: 2px; }
.z4-review-queue-filters a.is-active { background: var(--ex-brand-dark); border-color: var(--ex-brand-dark); color: #fff; }
.z4-review-queue-filters b { align-items: center; background: #f2ecea; border-radius: 999px; color: var(--ex-brand-dark); display: inline-flex; font-size: 11px; height: 24px; justify-content: center; min-width: 24px; padding: 0 7px; }
.z4-review-queue-filters a.is-active b { background: rgba(255, 255, 255, .18); color: #fff; }
.z4-review-queue-panel { overflow: hidden; padding: 0; }
.z4-review-queue-panel .z4-exhibitions-table-wrap { overflow-x: auto; padding: 22px 24px 0; }
.z4-review-queue-table { min-width: 760px; table-layout: fixed; }
.z4-review-queue-table th:nth-child(1) { width: 30%; }
.z4-review-queue-table th:nth-child(2) { width: 18%; }
.z4-review-queue-table th:nth-child(3) { width: 20%; }
.z4-review-queue-table th:nth-child(4) { text-align: center; width: 10%; }
.z4-review-queue-table th:nth-child(5) { width: 22%; }
.z4-review-queue-table th,
.z4-review-queue-table td { padding: 16px 14px; vertical-align: middle; }
.z4-review-queue-table thead th { background: #fff4f1; color: #6f1616; }
.z4-review-queue-table tbody tr { transition: background-color .16s ease; }
.z4-review-queue-table tbody tr:hover { background: #fffafa; }
.z4-review-queue-table td:first-child strong { color: var(--ex-ink); display: block; font-size: 15px; line-height: 1.45; }
.z4-review-state { background: #f3efed; border-radius: 999px; color: #51484a; display: inline-flex; font-size: 12px; font-weight: 750; padding: 7px 10px; white-space: nowrap; }
.z4-review-state.is-approved,
.z4-review-state.is-published { background: var(--ex-green-soft); color: var(--ex-green); }
.z4-review-state.is-rejected { background: #fde8e8; color: #9b1c1c; }
.z4-review-state.is-under-review,
.z4-review-state.is-changes-requested,
.z4-review-state.is-documents-requested,
.z4-review-state.is-escalated { background: #fff3d9; color: #84540c; }
.z4-review-round { align-items: center; background: #f5f1ef; border-radius: 50%; display: inline-flex; font-size: 12px; font-weight: 800; height: 32px; justify-content: center; min-width: 32px; }
.z4-review-queue-table td:nth-child(4) { text-align: center; }
.z4-review-queue-action-cell { text-align: right !important; }
.z4-review-queue-action { min-height: 40px; padding: 9px 14px; white-space: nowrap; }
.z4-review-queue-panel .z4-admin-pagination { padding: 18px 24px 22px; }

@media (max-width: 700px) {
    [data-artwork-review-queue] { padding-inline: 16px; }
    .z4-review-queue-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .z4-review-queue-filters a { justify-content: space-between; min-width: 0; }
    .z4-review-queue-panel .z4-exhibitions-table-wrap { overflow: visible; padding: 14px; }
    .z4-review-queue-table,
    .z4-review-queue-table tbody { display: block; min-width: 0; }
    .z4-review-queue-table thead { display: none; }
    .z4-review-queue-table tbody { display: grid; gap: 12px; }
    .z4-review-queue-table tr { border: 1px solid var(--ex-border); border-radius: 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: hidden; padding: 8px; }
    .z4-review-queue-table td { border: 0; display: grid; gap: 6px; padding: 9px 10px; text-align: left !important; }
    .z4-review-queue-table td::before { color: var(--ex-muted); content: attr(data-label); font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
    .z4-review-queue-table td:first-child,
    .z4-review-queue-table td:last-child { grid-column: 1 / -1; }
    .z4-review-round { justify-self: start; }
    .z4-review-queue-action { width: 100%; }
}
.z4-public-artwork{padding:3rem 1rem 6rem;background:#fbf8f5;color:#251c1a}.z4-artwork-hero{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);gap:2.5rem;align-items:start}.z4-artwork-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.z4-artwork-gallery figure{margin:0;border-radius:1rem;overflow:hidden;background:#eee}.z4-artwork-gallery figure.is-primary{grid-column:1/-1}.z4-artwork-gallery img{display:block;width:100%;height:100%;max-height:720px;object-fit:contain}.z4-artwork-purchase{position:sticky;top:1.5rem;padding:2rem;border:1px solid #e6dad5;border-radius:1rem;background:#fff;display:grid;gap:1rem}.z4-artwork-purchase h1{font-size:clamp(2rem,4vw,3.5rem);line-height:1;margin:0}.z4-artwork-price{font-size:1.6rem;color:#8b1218}.z4-artwork-story{display:grid;grid-template-columns:2fr 1fr;gap:2rem;margin:3rem 0}.z4-artwork-story>*{padding:2rem;border-radius:1rem;background:#fff;border:1px solid #e6dad5}.z4-exhibitions-table-wrap{overflow:auto}.z4-exhibitions-table-wrap table{width:100%;border-collapse:collapse}.z4-exhibitions-table-wrap th,.z4-exhibitions-table-wrap td{padding:.8rem;border-bottom:1px solid #eadfdd;text-align:left;vertical-align:top}.z4-exhibitions-table-wrap td small{display:block;max-width:28rem}@media(max-width:800px){.z4-artwork-hero,.z4-artwork-story{grid-template-columns:1fr}.z4-artwork-purchase{position:static}.z4-artwork-gallery{grid-template-columns:1fr}.z4-public-artwork{padding-inline:.5rem}}
.z4-template-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.z4-template-grid form{background:#faf8f7;border:1px solid #eee9e7;border-radius:12px;padding:14px}.z4-template-grid header{display:flex;gap:12px;justify-content:space-between}.z4-template-grid header span{color:var(--ex-muted);font-size:11px}.z4-notification-list{display:grid;gap:10px}.z4-notification-list article{align-items:start;background:#faf8f7;border:1px solid #eee9e7;border-radius:12px;display:flex;gap:16px;justify-content:space-between;padding:16px}.z4-notification-list article.is-unread{border-left:5px solid var(--ex-brand);background:#fff}.z4-notification-list h2{font-size:18px;margin:5px 0}.z4-notification-list p{color:var(--ex-muted);margin:0;overflow-wrap:anywhere}.z4-notification-list form{flex:0 0 auto!important;margin:0!important}@media(max-width:800px){.z4-template-grid{grid-template-columns:1fr}.z4-notification-list article{align-items:stretch;flex-direction:column}.z4-notification-list form button{width:100%}}
.z4-report-filters{align-items:end;background:#fff;border:1px solid var(--ex-border);border-radius:14px;display:flex;flex-wrap:wrap;gap:12px;margin-bottom:18px;padding:14px}.z4-report-filters label{display:grid;flex:1 1 150px;gap:5px}.z4-report-filters input{border:1px solid var(--ex-border);border-radius:9px;padding:10px;width:100%}.z4-report-filters button{background:var(--ex-brand);border:0;border-radius:9px;color:#fff;font-weight:800;padding:11px 15px}.z4-report-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:18px}.z4-report-metrics article{background:#fff;border:1px solid var(--ex-border);border-radius:13px;display:grid;gap:5px;min-width:0;padding:16px}.z4-report-metrics small,.z4-report-metrics span,.z4-report-metrics em{color:var(--ex-muted)}.z4-report-metrics strong{font-size:26px;overflow-wrap:anywhere}.z4-report-metrics em{font-size:9px;font-style:normal;overflow-wrap:anywhere}.z4-report-bars{display:grid;gap:14px}.z4-report-bars article>div:first-child{display:flex;gap:12px;justify-content:space-between}.z4-report-bars span,.z4-report-bars small{color:var(--ex-muted)}.z4-report-bar{background:#f2ecea;border-radius:999px;height:9px;margin:6px 0;overflow:hidden}.z4-report-bar i{background:var(--ex-brand);display:block;height:100%}@media(max-width:1000px){.z4-report-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.z4-report-metrics{grid-template-columns:1fr}.z4-report-filters{align-items:stretch;flex-direction:column}.z4-report-filters label,.z4-report-filters button{width:100%}}
.z4-security-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.z4-security-grid article{background:#faf8f7;border:1px solid #eee9e7;border-radius:12px;display:grid;gap:7px;min-width:0;padding:16px}.z4-security-grid code{color:var(--ex-brand);overflow-wrap:anywhere}.z4-security-grid p{color:var(--ex-muted);margin:0}.z4-security-grid b{font-size:12px}.z4-exhibitions-notice ul{margin:10px 0 0;padding-inline-start:20px}.z4-exhibitions-notice li{margin:6px 0}@media(max-width:700px){.z4-security-grid{grid-template-columns:1fr}}

/* Phase 19: responsive journeys, safe areas, touch and autosave states. */
*,*::before,*::after{box-sizing:border-box}.z4-exhibitions-admin{padding-bottom:max(72px,env(safe-area-inset-bottom))}.z4-exhibitions-container{min-width:0}.z4-exhibitions-form input,.z4-exhibitions-form select,.z4-exhibitions-form textarea{font-size:16px;scroll-margin-block:120px}.z4-exhibitions-button,.z4-exhibitions-actions button,.z4-exhibitions-actions a,.z4-artist-dashboard-nav a,.z4-admin-tabs a,.z4-artist-filter-strip a{align-items:center;display:inline-flex;min-height:44px;justify-content:center}.z4-exhibitions-table-wrap{max-width:100%;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch}.z4-exhibitions-table-wrap table,.z4-exhibitions-table{min-width:720px}.z4-autosave-status{align-items:center;background:#f7f4f2;border:1px solid var(--ex-border);border-radius:10px;color:var(--ex-muted);display:flex;gap:10px;justify-content:space-between;margin-bottom:14px;min-height:44px;padding:9px 12px;position:sticky;top:8px;z-index:15}.z4-autosave-status::before{background:currentColor;border-radius:50%;content:"";flex:0 0 8px;height:8px}.z4-autosave-status span{flex:1}.z4-autosave-status button{background:transparent;border:1px solid currentColor;border-radius:7px;color:inherit;min-height:36px;padding:6px 10px}.z4-autosave-status.is-saved{background:#eef9f3;color:#17653b}.z4-autosave-status.is-saving,.z4-autosave-status.is-pending{background:#fff9e8;color:#6c5511}.z4-autosave-status.is-error,.z4-autosave-status.is-conflict{background:#fff0ef;color:#8c1d18}.z4-autosave-status.is-offline{background:#f2f2f2;color:#4c4c4c}.z4-exhibitions-alert,.z4-exhibitions-empty{overflow-wrap:anywhere}.z4-artwork-media-grid img{max-width:100%}
@media(max-width:700px){body:has(.z4-exhibitions-admin){overflow-x:hidden}.z4-exhibitions-admin{padding:14px max(12px,env(safe-area-inset-right)) max(88px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))}.z4-exhibitions-form-container{width:100%}.z4-exhibitions-admin .z4-exhibitions-form input,.z4-exhibitions-admin .z4-exhibitions-form select,.z4-exhibitions-admin .z4-exhibitions-form textarea{font-size:16px}.z4-artist-dashboard-nav,.z4-admin-tabs,.z4-artist-filter-strip{margin-inline:-4px;overscroll-behavior-inline:contain;padding-inline:4px;scrollbar-width:none}.z4-artist-dashboard-nav::-webkit-scrollbar,.z4-admin-tabs::-webkit-scrollbar,.z4-artist-filter-strip::-webkit-scrollbar{display:none}.z4-exhibitions-heading h1{font-size:clamp(28px,9vw,40px);overflow-wrap:anywhere}.z4-exhibitions-panel-heading{flex-wrap:wrap}.z4-exhibitions-actions{background:linear-gradient(to top,#fff 75%,transparent);bottom:0;margin-inline:-12px;padding:18px max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));position:sticky;z-index:20}.z4-exhibitions-actions>*{min-height:48px;width:100%}.z4-autosave-status{top:max(6px,env(safe-area-inset-top))}.z4-autosave-status button[hidden]{display:none!important}.z4-report-bars article>div:first-child,.z4-ticket-meta,.z4-exhibitions-panel-heading{align-items:flex-start;flex-direction:column}.z4-report-bars span{overflow-wrap:anywhere}.z4-template-grid form,.z4-exhibitions-panel{min-width:0}.z4-notification-list article,.z4-artwork-list>a{min-width:0}.z4-artwork-media-actions>*{min-height:44px}.z4-artwork-media-actions label input{max-width:100%}.z4-security-grid code{font-size:11px}}
@media(max-width:700px){.z4-artist-dashboard-header{gap:14px}.z4-artist-account-chip{max-width:42%;text-align:center}}

/* Admin operational workspaces: balanced rhythm and complete, unclipped navigation. */
[data-admin-workspace] .z4-exhibitions-container { padding-inline: 2px; }
[data-admin-workspace] .z4-exhibitions-heading { margin-bottom: 26px; }
[data-admin-workspace] .z4-admin-tabs { column-gap: 6px; flex-wrap: wrap; margin-bottom: 18px; overflow: visible; padding: 0; row-gap: 9px; }
[data-admin-workspace] .z4-admin-tabs a { border-color: #ebcbc6; color: var(--ex-brand-dark); font-weight: 750; min-height: 40px; padding: 7px 9px; }
[data-admin-workspace] .z4-admin-tabs a:hover { background: var(--ex-brand-soft); border-color: var(--ex-brand); }
[data-admin-workspace] .z4-admin-tabs a.is-active { background: var(--ex-brand); border-color: var(--ex-brand); color: #fff; }
[data-admin-workspace] .z4-exhibitions-filters { gap: 12px; grid-template-columns: minmax(260px, 2fr) minmax(160px, 1fr) minmax(160px, 1fr) auto; margin-bottom: 16px; padding: 16px; }
[data-admin-workspace] .z4-exhibitions-filters button { min-height: 42px; padding-inline: 20px; }
[data-admin-workspace] .z4-exhibitions-panel { padding: 18px; }
[data-admin-workspace] .z4-exhibitions-table-wrap { overflow-x: hidden; }
[data-admin-workspace="artworks"] .z4-exhibitions-table-wrap { overflow: visible; }
[data-admin-workspace] .z4-exhibitions-table { min-width: 0; table-layout: fixed; }
[data-admin-workspace] .z4-exhibitions-table th:nth-child(1) { width: 17%; }
[data-admin-workspace] .z4-exhibitions-table th:nth-child(2) { width: 15%; }
[data-admin-workspace] .z4-exhibitions-table th:nth-child(3) { width: 31%; }
[data-admin-workspace] .z4-exhibitions-table th:nth-child(4) { width: 20%; }
[data-admin-workspace] .z4-exhibitions-table th:nth-child(5) { width: 17%; }
[data-admin-workspace] .z4-exhibitions-table th,
[data-admin-workspace] .z4-exhibitions-table td { min-width: 0; overflow-wrap: anywhere; padding: 15px 12px; vertical-align: middle; }
[data-admin-workspace] .z4-exhibitions-table tbody tr { transition: background-color .18s ease; }
[data-admin-workspace] .z4-exhibitions-table tbody tr:hover { background: #fffafa; }
[data-admin-workspace] .z4-workspace-context { line-height: 1.45; }
[data-admin-workspace] .z4-exhibitions-table time { display: grid; gap: 3px; }
[data-admin-workspace] .z4-exhibitions-table time span { white-space: nowrap; }
[data-admin-workspace] .z4-exhibitions-table time small { color: var(--ex-muted); margin: 0; }
[data-admin-workspace="artworks"] .z4-exhibitions-table th:nth-child(1) { width: 23%; }
[data-admin-workspace="artworks"] .z4-exhibitions-table th:nth-child(2) { width: 19%; }
[data-admin-workspace="artworks"] .z4-exhibitions-table th:nth-child(3) { width: 12%; }
[data-admin-workspace="artworks"] .z4-exhibitions-table th:nth-child(4) { width: 20%; }
[data-admin-workspace="artworks"] .z4-exhibitions-table th:nth-child(5) { width: 18%; }
[data-admin-workspace="artworks"] .z4-exhibitions-table th:nth-child(6) { width: 8%; text-align: center; }
[data-admin-workspace="artworks"] .z4-workspace-owner strong { display: block; line-height: 1.4; }
[data-admin-workspace="artworks"] .z4-workspace-record-link { color: var(--ex-text); text-decoration: none; }
[data-admin-workspace="artworks"] .z4-workspace-record-link:hover { color: var(--ex-brand); text-decoration: underline; text-underline-offset: 3px; }
[data-admin-workspace="artworks"] .z4-workspace-row-action { overflow: visible; position: relative; text-align: center; }
[data-admin-workspace="artworks"] .z4-exhibitions-table tbody tr:has(.z4-artwork-action-menu[open]) { position: relative; z-index: 30; }
.z4-visually-hidden { clip: rect(0 0 0 0); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px; }
.z4-artwork-action-menu { display: inline-block; position: relative; }
.z4-artwork-action-menu summary { align-items: center; background: #fff; border: 1px solid #dfc8c4; border-radius: 10px; color: var(--ex-brand-dark); cursor: pointer; display: inline-flex; height: 40px; justify-content: center; list-style: none; transition: background-color .18s ease,border-color .18s ease,box-shadow .18s ease,color .18s ease; width: 44px; }
.z4-artwork-action-menu summary::-webkit-details-marker { display: none; }
.z4-artwork-action-menu summary:hover,.z4-artwork-action-menu[open] summary { background: var(--ex-brand); border-color: var(--ex-brand); color: #fff; }
.z4-artwork-action-menu summary:focus-visible { box-shadow: 0 0 0 3px rgba(174,0,0,.2); outline: 2px solid #fff; outline-offset: 1px; }
.z4-artwork-action-menu-panel { background: #fff; border: 1px solid #eadbd8; border-radius: 13px; box-shadow: 0 18px 45px rgba(54,16,12,.18); display: grid; inset-inline-end: 0; min-width: 270px; overflow: hidden; padding: 6px; position: absolute; text-align: start; top: calc(100% + 8px); z-index: 60; }
.z4-artwork-action-menu-panel::before { color: #8d716d; content: "Artwork actions"; font-size: 10px; font-weight: 850; letter-spacing: .08em; padding: 7px 10px 5px; text-transform: uppercase; }
[data-admin-workspace="artworks"] .z4-artwork-action-menu-panel a,
[data-admin-workspace="artworks"] .z4-artwork-action-menu-panel button { align-items: center; background: transparent !important; border: 0; border-radius: 9px; color: var(--ex-text) !important; cursor: pointer; display: grid; font-family: inherit; font-size: 13px; gap: 11px; grid-template-columns: 34px minmax(0,1fr); min-height: 54px; padding: 8px 10px; text-align: start; text-decoration: none; white-space: normal; width: 100%; }
[data-admin-workspace="artworks"] .z4-artwork-action-menu-panel a:hover,
[data-admin-workspace="artworks"] .z4-artwork-action-menu-panel a:focus-visible,
[data-admin-workspace="artworks"] .z4-artwork-action-menu-panel button:hover,
[data-admin-workspace="artworks"] .z4-artwork-action-menu-panel button:focus-visible { background: var(--ex-brand-soft) !important; color: var(--ex-brand-dark) !important; outline: none; }
.z4-artwork-action-menu-panel form { border-top: 1px solid #f0e5e2; margin-top: 3px; padding-top: 3px; }
[data-admin-workspace="artworks"] .z4-artwork-action-menu-panel button.is-danger { color: #9d1712 !important; }
[data-admin-workspace="artworks"] .z4-artwork-action-menu-panel button.is-danger:hover,
[data-admin-workspace="artworks"] .z4-artwork-action-menu-panel button.is-danger:focus-visible { background: #fff0ef !important; color: #7e0f0b !important; }
.z4-artwork-action-menu-panel :is(a,button) > svg { fill: none; height: 20px; justify-self: center; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; width: 20px; }
.z4-artwork-action-menu-panel :is(a,button) > span { display: grid; gap: 2px; min-width: 0; }
.z4-artwork-action-menu-panel :is(a,button) strong { font-size: 13px; line-height: 1.25; }
.z4-artwork-action-menu-panel :is(a,button) small { color: var(--ex-muted); font-size: 10px; line-height: 1.35; margin: 0; }
.z4-artwork-delete-dialog { background: #fff; border: 0; border-radius: 18px; box-shadow: 0 28px 80px rgba(40,10,8,.28); color: var(--ex-text); margin: auto; max-width: 560px; overflow: hidden; padding: 0; width: calc(100% - 32px); }
.z4-artwork-delete-dialog::backdrop { background: rgba(25,12,11,.58); backdrop-filter: blur(2px); }
.z4-artwork-delete-dialog__accent { background: var(--ex-brand); height: 5px; }
.z4-artwork-delete-dialog__body { align-items: start; display: grid; gap: 18px; grid-template-columns: auto minmax(0,1fr); padding: 28px 28px 22px; }
.z4-artwork-delete-dialog__icon { align-items: center; background: #fff0ef; border-radius: 50%; color: var(--ex-brand); display: inline-flex; height: 48px; justify-content: center; width: 48px; }
.z4-artwork-delete-dialog__icon svg { fill: none; height: 24px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; width: 24px; }
.z4-artwork-delete-dialog h2 { font-size: 25px; line-height: 1.2; margin: 6px 0 10px; }
.z4-artwork-delete-dialog p { color: var(--ex-muted); line-height: 1.65; margin: 0; }
.z4-artwork-delete-dialog p strong { color: var(--ex-text); }
.z4-artwork-delete-dialog__safety { background: #faf7f6; border: 1px solid var(--ex-border); border-radius: 10px; font-size: 12px; margin-top: 16px !important; padding: 11px 12px; }
.z4-artwork-delete-dialog__actions { align-items: center; background: #faf8f7; border-top: 1px solid var(--ex-border); display: flex; gap: 10px; justify-content: flex-end; padding: 16px 28px; }
.z4-artwork-delete-dialog__actions .z4-exhibitions-button { min-width: 135px; }
.z4-artwork-delete-dialog__actions .is-danger { background: var(--ex-brand); border-color: var(--ex-brand); color: #fff; }
.z4-artwork-delete-dialog__actions .is-danger:hover { background: var(--ex-brand-dark); border-color: var(--ex-brand-dark); }
@media(max-width:600px){.z4-artwork-delete-dialog__body{grid-template-columns:1fr;padding:22px 20px 18px}.z4-artwork-delete-dialog__actions{align-items:stretch;display:grid;grid-template-columns:1fr;padding:14px 20px}.z4-artwork-delete-dialog__actions .z4-exhibitions-button{width:100%}}
[data-admin-workspace="artworks"] .z4-exhibitions-table tbody tr:nth-last-child(-n+2) .z4-artwork-action-menu-panel { bottom: calc(100% + 8px); top: auto; }

/* Read-only artwork previews shared by every administration state. */
[data-admin-artwork-view] .z4-exhibitions-container { max-width: 1240px; }
.z4-artwork-view-heading { align-items: flex-start; }
.z4-artwork-view-heading-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 9px; justify-content: flex-end; }
.z4-admin-artwork-preview { align-items: stretch; }
.z4-artwork-media-count { color: var(--ex-muted); display: block; margin-top: 8px; text-align: center; }
.z4-artwork-view-content { min-width: 0; }
.z4-artwork-view-details { display: grid; gap: 22px; grid-template-columns: repeat(2,minmax(0,1fr)); }
.z4-artwork-view-details p { color: var(--ex-muted); line-height: 1.75; margin: 8px 0 0; white-space: pre-line; }
@media(max-width:700px){.z4-artwork-view-heading-actions{align-items:stretch;justify-content:flex-start;width:100%}.z4-artwork-view-heading-actions>*{width:100%}.z4-artwork-view-details{grid-template-columns:1fr}}

/* Unified artwork review workspace */
[data-artwork-review-workspace] .z4-exhibitions-container { max-width: 1240px; }
[data-artwork-review-workspace] .z4-review-page-heading { align-items: flex-start; margin-bottom: 22px; }
[data-artwork-review-workspace] .z4-review-page-heading h1 { margin-top: 8px; }
[data-artwork-review-workspace] .z4-review-page-heading p { max-width: 760px; }
.z4-review-area-strip { display: grid; gap: 12px; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 18px; }
.z4-review-area-strip article { align-items: center; background: #fff; border: 1px solid var(--ex-border); border-radius: 14px; display: grid; gap: 10px; grid-template-columns: auto minmax(0, 1fr); min-height: 92px; padding: 15px; }
.z4-review-area-strip article > .z4-exhibitions-pill { grid-column: 2; justify-self: start; }
.z4-review-area-number { align-items: center; align-self: start; background: var(--ex-brand-soft); border-radius: 50%; color: var(--ex-brand); display: inline-flex; font-size: 13px; font-weight: 850; height: 32px; justify-content: center; width: 32px; }
.z4-review-area-strip strong { display: block; font-size: 14px; line-height: 1.35; }
.z4-review-area-strip small { color: var(--ex-muted); display: -webkit-box; font-size: 11px; line-height: 1.45; margin-top: 3px; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.z4-review-inspection-grid { align-items: stretch; display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); margin-bottom: 16px; }
.z4-review-content-card { margin: 0; }
.z4-review-content-card .z4-exhibitions-panel-heading { margin-bottom: 8px; }
.z4-review-content-card .z4-exhibitions-details { margin-top: 4px; }
.z4-review-content-card .z4-exhibitions-details > div { min-height: 74px; padding: 15px 8px; }
.z4-review-content-card .z4-exhibitions-details dd { line-height: 1.55; overflow-wrap: anywhere; }
.z4-review-field-group { border-top: 1px solid var(--ex-border); margin-top: 10px; padding-top: 18px; }
.z4-review-field-group:first-of-type { border-top: 0; margin-top: 0; padding-top: 0; }
.z4-review-field-group h3 { font-size: 16px; margin: 0 8px 8px; }
.z4-review-content-card .z4-exhibitions-details > div.is-wide,
.z4-review-evidence-card .z4-exhibitions-details > div.is-wide { grid-column: 1 / -1; }
.z4-review-content-card .z4-exhibitions-details > div.is-empty,
.z4-review-evidence-card .z4-exhibitions-details > div.is-empty { background: #fbf9f8; }
.z4-review-content-card .z4-exhibitions-details dd em,
.z4-review-evidence-card .z4-exhibitions-details dd em { color: #8b7e79; font-style: normal; }
.z4-review-evidence-stack { display: grid; gap: 12px; }
.z4-review-evidence-card { align-content: start; display: grid; gap: 16px; margin: 0; min-height: 0; padding: 24px; }
.z4-review-evidence-card strong { display: block; font-size: 17px; margin-bottom: 5px; }
.z4-review-evidence-card p { color: var(--ex-muted); line-height: 1.55; margin: 0; }
.z4-review-media-gallery { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.z4-review-media-gallery figure { background: #faf8f7; border: 1px solid var(--ex-border); border-radius: 13px; margin: 0; overflow: hidden; }
.z4-review-media-preview { align-items: center; aspect-ratio: 4 / 3; background: #f1edeb; display: flex; justify-content: center; overflow: hidden; }
.z4-review-media-preview img { height: 100%; object-fit: contain; width: 100%; }
.z4-review-media-gallery figcaption { display: grid; gap: 7px; padding: 14px; }
.z4-review-media-gallery figcaption > div { align-items: center; display: flex; flex-wrap: wrap; gap: 8px; }
.z4-review-media-gallery figcaption strong { font-size: 14px; margin: 0; }
.z4-review-media-gallery figcaption small { color: var(--ex-muted); overflow-wrap: anywhere; }
.z4-review-media-gallery figcaption a { color: var(--ex-brand); font-size: 12px; font-weight: 800; }
.z4-review-declaration-details { margin-bottom: 2px; }
.z4-review-file-list { display: grid; gap: 10px; }
.z4-review-file-list > a { align-items: center; background: #faf8f7; border: 1px solid var(--ex-border); border-radius: 11px; color: var(--ex-text); display: flex; gap: 16px; justify-content: space-between; padding: 14px 16px; text-decoration: none; }
.z4-review-file-list > a:hover { border-color: var(--ex-brand); }
.z4-review-file-list span { min-width: 0; }
.z4-review-file-list strong { font-size: 14px; margin: 0 0 4px; }
.z4-review-file-list small { color: var(--ex-muted); display: block; overflow-wrap: anywhere; }
.z4-review-file-list b { color: var(--ex-brand); font-size: 12px; white-space: nowrap; }
.z4-review-empty { background: #faf8f7; border: 1px dashed var(--ex-border); border-radius: 11px; color: var(--ex-muted); padding: 18px; text-align: center; }
.z4-review-final-decision { background: #fff; border-color: #e2cfcd; display: block; margin-bottom: 18px; overflow: hidden; padding: 28px; position: relative; }
.z4-review-final-decision::before { background: var(--ex-brand); content: ""; height: 4px; inset: 0 0 auto; position: absolute; }
.z4-review-final-decision.is-closed { display: block; }
.z4-review-decision-copy { max-width: 820px; }
.z4-review-decision-copy h2 { font-size: clamp(22px, 2vw, 28px); line-height: 1.2; margin: 7px 0 8px; }
.z4-review-decision-copy p { color: var(--ex-muted); line-height: 1.65; margin: 0; max-width: 760px; }
.z4-review-decision-form { align-items: start; border-top: 1px solid var(--ex-border); display: grid; gap: 18px 20px; grid-template-columns: minmax(240px, .72fr) minmax(360px, 1.28fr); margin-top: 22px; padding-top: 22px; }
.z4-review-decision-form label { display: flex; flex-direction: column; gap: 7px; margin: 0; }
.z4-review-decision-form label > span { font-size: 13px; font-weight: 800; }
.z4-review-decision-form select { min-height: 50px; }
.z4-review-decision-form textarea { min-height: 124px; resize: vertical; }
.z4-review-decision-form small { color: var(--ex-muted); display: block; font-size: 11px; line-height: 1.45; margin-top: 0; }
.z4-review-decision-form button { background: var(--ex-brand) !important; color: #fff !important; grid-column: 1 / -1; justify-self: end; min-height: 50px; min-width: 220px; white-space: nowrap; }
.z4-review-feedback-panel { margin-bottom: 16px; }
.z4-review-feedback-panel .z4-exhibitions-panel-heading p { color: var(--ex-muted); margin: 5px 0 0; }
.z4-review-comment-tools { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.z4-review-comment-tools details { border: 1px solid var(--ex-border); border-radius: 11px; overflow: hidden; }
.z4-review-comment-tools summary { color: var(--ex-brand); cursor: pointer; font-size: 13px; font-weight: 800; list-style-position: inside; padding: 14px 16px; }
.z4-review-comment-tools details[open] { grid-column: 1 / -1; }
.z4-review-comment-tools details[open] summary { background: var(--ex-brand-soft); border-bottom: 1px solid var(--ex-border); }
.z4-review-comment-tools form { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 16px; }
.z4-review-comment-tools form .is-wide { grid-column: 1 / -1; }
.z4-review-comment-tools form button { justify-self: start; }
.z4-review-history-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1.3fr) minmax(300px, .7fr); }
.z4-review-history-grid > .z4-exhibitions-panel { margin: 0; min-height: 190px; }
.z4-review-comments li.is-empty { background: #faf8f7; border-left-color: var(--ex-border); color: var(--ex-muted); }

@media (max-width: 1050px) {
    .z4-review-area-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .z4-review-inspection-grid,
    .z4-review-history-grid { grid-template-columns: 1fr; }
    .z4-review-evidence-stack { grid-template-columns: 1fr; grid-template-rows: none; }
    .z4-review-decision-form { grid-template-columns: minmax(210px, .7fr) minmax(0, 1.3fr); }
}

@media (max-width: 700px) {
    .z4-review-area-strip,
    .z4-review-evidence-stack,
    .z4-review-comment-tools,
    .z4-review-comment-tools form,
    .z4-review-decision-form { grid-template-columns: 1fr; }
    .z4-review-comment-tools details[open],
    .z4-review-comment-tools form .is-wide { grid-column: auto; }
    .z4-review-final-decision { padding: 19px; }
    .z4-review-evidence-card { padding: 18px; }
    .z4-review-media-gallery { grid-template-columns: 1fr; }
    .z4-review-file-list > a { align-items: flex-start; flex-direction: column; }
    .z4-review-decision-form button { grid-column: auto; justify-self: stretch; min-width: 0; width: 100%; }
}
[data-admin-workspace] .z4-workspace-identifier { color: var(--ex-muted); display: block; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 11px; line-height: 1.45; overflow-wrap: anywhere; word-break: break-word; }

@media (max-width: 900px) {
    [data-admin-workspace] .z4-exhibitions-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    [data-admin-workspace] .z4-exhibitions-filters label:first-of-type { grid-column: 1 / -1; }
    [data-admin-workspace] .z4-exhibitions-filters button { align-self: end; width: 100%; }
}

@media (max-width: 700px) {
    [data-admin-workspace] .z4-exhibitions-heading { gap: 16px; }
    [data-admin-workspace] .z4-exhibitions-heading .z4-exhibitions-button { width: 100%; }
    [data-admin-workspace] .z4-admin-tabs { flex-wrap: nowrap; margin-inline: -2px; overflow-x: auto; padding: 0 2px 6px; }
    [data-admin-workspace] .z4-exhibitions-filters { grid-template-columns: 1fr; }
    [data-admin-workspace] .z4-exhibitions-filters label:first-of-type { grid-column: auto; }
    [data-admin-workspace] .z4-exhibitions-panel { padding: 12px; }
    [data-admin-workspace] .z4-exhibitions-table,
    [data-admin-workspace] .z4-exhibitions-table tbody { display: block; min-width: 0; }
    [data-admin-workspace] .z4-exhibitions-table thead { display: none; }
    [data-admin-workspace] .z4-exhibitions-table tbody { display: grid; gap: 12px; }
    [data-admin-workspace] .z4-exhibitions-table tr { background: #fff; border: 1px solid #eee9e7; border-radius: 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: hidden; padding: 6px; }
    [data-admin-workspace] .z4-exhibitions-table td { border: 0; display: grid; gap: 5px; padding: 9px 10px; }
    [data-admin-workspace] .z4-exhibitions-table td::before { color: var(--ex-muted); content: attr(data-label); font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
    [data-admin-workspace] .z4-exhibitions-table td:first-child,
    [data-admin-workspace] .z4-exhibitions-table td:nth-child(3),
    [data-admin-workspace] .z4-exhibitions-table td:last-child { grid-column: 1 / -1; }
    [data-admin-workspace] .z4-workspace-empty-row { display: block; padding: 0; }
    [data-admin-workspace] .z4-workspace-empty-row td::before { display: none; }
    [data-admin-workspace="artworks"] .z4-exhibitions-table tr { overflow: visible; }
    [data-admin-workspace="artworks"] .z4-workspace-row-action { align-items: end; }
    [data-admin-workspace="artworks"] .z4-artwork-action-menu { max-width: 100%; }
    [data-admin-workspace="artworks"] .z4-artwork-action-menu-panel,
    [data-admin-workspace="artworks"] .z4-exhibitions-table tbody tr:nth-last-child(-n+2) .z4-artwork-action-menu-panel { bottom: auto; inset-inline-end: auto; margin-top: 8px; min-width: min(270px, calc(100vw - 56px)); position: static; top: auto; }
}
@media(min-width:701px) and (max-width:1100px){.z4-exhibitions-fields,.z4-settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.z4-admin-workspaces{grid-template-columns:repeat(2,minmax(0,1fr))}.z4-artwork-media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1440px){.z4-exhibitions-container{max-width:1360px}.z4-admin-metric-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:700px){.z4-exhibitions-admin .z4-exhibitions-form input,.z4-exhibitions-admin .z4-exhibitions-form select,.z4-exhibitions-admin .z4-exhibitions-form textarea{font-size:16px!important}}

/* Virtual exhibition placement requests: six balanced columns without clipping. */
[data-ve-placement-requests] .z4-ve-filter,
[data-ve-published-artworks] .z4-ve-filter {
    align-items: end;
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(220px, 280px) auto;
    justify-content: start;
}
[data-ve-placement-requests] .z4-ve-filter label,
[data-ve-published-artworks] .z4-ve-filter label { min-width: 0; }
[data-ve-published-artworks] .z4-ve-filter input {
    background: #fff;
    border: 1px solid var(--ex-border);
    border-radius: 9px;
    color: var(--ex-ink);
    min-height: 44px;
    padding: 10px 12px;
    width: 100%;
}
[data-ve-placement-requests] .z4-ve-filter button,
[data-ve-published-artworks] .z4-ve-filter button {
    align-items: center;
    background: var(--ex-brand);
    border: 0;
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font-weight: 800;
    justify-content: center;
    min-height: 44px;
    min-width: 90px;
    padding: 10px 20px;
}
[data-ve-placement-requests] .z4-ve-filter button:hover,
[data-ve-placement-requests] .z4-ve-filter button:focus-visible,
[data-ve-published-artworks] .z4-ve-filter button:hover,
[data-ve-published-artworks] .z4-ve-filter button:focus-visible {
    background: var(--ex-brand-dark);
    outline: 0;
}
[data-ve-placement-requests] .z4-exhibitions-panel { min-width: 0; }
[data-ve-placement-requests] .z4-table-scroll {
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
}
[data-ve-placement-requests] .z4-ve-requests-table {
    min-width: 820px;
    table-layout: fixed;
    width: 100%;
}
[data-ve-placement-requests] .z4-ve-requests-table th:nth-child(1) { width: 15%; }
[data-ve-placement-requests] .z4-ve-requests-table th:nth-child(2) { width: 20%; }
[data-ve-placement-requests] .z4-ve-requests-table th:nth-child(3) { width: 22%; }
[data-ve-placement-requests] .z4-ve-requests-table th:nth-child(4) { width: 14%; }
[data-ve-placement-requests] .z4-ve-requests-table th:nth-child(5) { width: 17%; }
[data-ve-placement-requests] .z4-ve-requests-table th:nth-child(6) { width: 12%; }
[data-ve-placement-requests] .z4-ve-requests-table th,
[data-ve-placement-requests] .z4-ve-requests-table td {
    min-width: 0;
    overflow-wrap: anywhere;
    padding: 15px 12px;
    vertical-align: middle;
}
[data-ve-placement-requests] .z4-ve-requests-table time { display: grid; gap: 2px; }
[data-ve-placement-requests] .z4-ve-requests-table time span { white-space: nowrap; }
[data-ve-placement-requests] .z4-ve-requests-table time small { color: var(--ex-muted); margin: 0; }
[data-ve-placement-requests] .z4-ve-request-action { text-align: right; }
[data-ve-placement-requests] .z4-ve-request-action a {
    align-items: center;
    border: 1px solid #e6cbc6;
    border-radius: 9px;
    display: inline-flex;
    justify-content: center;
    min-height: 38px;
    padding: 8px 10px;
    white-space: nowrap;
}
[data-ve-placement-requests] .z4-ve-request-action a:hover,
[data-ve-placement-requests] .z4-ve-request-action a:focus-visible {
    background: var(--ex-brand-soft);
    border-color: var(--ex-brand);
    outline: 0;
}

@media (max-width: 700px) {
    [data-ve-placement-requests] .z4-ve-filter,
    [data-ve-published-artworks] .z4-ve-filter { grid-template-columns: 1fr; }
    [data-ve-placement-requests] .z4-ve-filter button,
    [data-ve-published-artworks] .z4-ve-filter button { width: 100%; }
    [data-ve-placement-requests] .z4-ve-requests-table,
    [data-ve-placement-requests] .z4-ve-requests-table tbody { display: block; min-width: 0; }
    [data-ve-placement-requests] .z4-ve-requests-table thead { display: none; }
    [data-ve-placement-requests] .z4-ve-requests-table tbody { display: grid; gap: 12px; }
    [data-ve-placement-requests] .z4-ve-requests-table tr {
        background: #fff;
        border: 1px solid #eee9e7;
        border-radius: 12px;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        overflow: hidden;
        padding: 6px;
    }
    [data-ve-placement-requests] .z4-ve-requests-table td {
        border: 0;
        display: grid;
        gap: 5px;
        padding: 9px 10px;
    }
    [data-ve-placement-requests] .z4-ve-requests-table td::before {
        color: var(--ex-muted);
        content: attr(data-label);
        font-size: 10px;
        font-weight: 800;
        letter-spacing: .05em;
        text-transform: uppercase;
    }
    [data-ve-placement-requests] .z4-ve-requests-table td:first-child,
    [data-ve-placement-requests] .z4-ve-requests-table td:nth-child(3),
    [data-ve-placement-requests] .z4-ve-requests-table td:last-child { grid-column: 1 / -1; }
    [data-ve-placement-requests] .z4-ve-request-action { text-align: left; }
    [data-ve-placement-requests] .z4-ve-request-action a { justify-content: flex-start; }
    [data-ve-placement-requests] .z4-exhibitions-empty { display: block; grid-column: 1 / -1; }
    [data-ve-placement-requests] .z4-exhibitions-empty::before { display: none; }
}

@media (max-width: 700px) {
    [data-artwork-review-queue] .z4-review-queue-table,
    [data-artwork-review-queue] .z4-review-queue-table tbody,
    [data-artwork-review-queue] .z4-review-queue-table tr { max-width: 100%; min-width: 0; width: 100%; }
}

body:has([data-artist-registration]) .ainpa-auth-stage {
    align-items: flex-start;
    padding: 28px 16px;
}

body:has([data-artist-registration]) .ainpa-auth-card {
    max-width: 1120px;
    overflow: hidden;
    padding: 0;
    width: 100%;
}

body:has([data-artist-registration]) .ainpa-auth-logo {
    margin: 24px auto 0;
}

.z4-artist-registration {
    min-height: 0;
    padding-top: 24px;
}

.z4-artist-registration-actions a {
    align-items: center;
    border-radius: 10px;
    display: inline-flex;
    font-weight: 800;
    justify-content: center;
    min-height: 44px;
    padding: 12px 18px;
    text-decoration: none;
}

@media (max-width: 700px) {
    body:has([data-artist-registration]) .ainpa-auth-stage {
        padding: 0;
    }

    body:has([data-artist-registration]) .ainpa-auth-card {
        border-radius: 0;
    }

    .z4-artist-registration-actions a {
        width: 100%;
    }

    .z4-registration-progress li { gap: 0; }
    .z4-registration-progress li small { display: none; }
    .z4-registration-progress li::before, .z4-registration-progress li::after { top: 14px; }
    .z4-registration-progress li > span { font-size: 10px; height: 29px; width: 29px; }
    .z4-wizard-navigation { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
    .z4-wizard-navigation [data-wizard-submit] { grid-column: 1 / -1; width: 100%; }
}

/* Exhibition visual identity: dark-red actions and icons, never orange. */
.z4-exhibitions-admin .z4-exhibitions-actions .is-primary,
.z4-exhibitions-admin .z4-exhibitions-form > .is-primary,
.z4-exhibitions-admin .z4-exhibitions-panel form > button:not(.is-secondary):not(.is-danger),
.z4-exhibitions-admin .z4-exhibitions-button:not(.is-secondary),
.z4-exhibitions-admin .z4-exhibitions-filters button,
.z4-exhibitions-admin .z4-report-filters button,
.z4-artist-registration .z4-wizard-navigation .is-primary {
    background: var(--ex-brand) !important;
    border-color: var(--ex-brand) !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

.z4-exhibitions-admin .z4-exhibitions-actions .is-primary:hover,
.z4-exhibitions-admin .z4-exhibitions-form > .is-primary:hover,
.z4-exhibitions-admin .z4-exhibitions-panel form > button:not(.is-secondary):not(.is-danger):hover,
.z4-exhibitions-admin .z4-exhibitions-button:not(.is-secondary):hover,
.z4-exhibitions-admin .z4-exhibitions-filters button:hover,
.z4-exhibitions-admin .z4-report-filters button:hover,
.z4-artist-registration .z4-wizard-navigation .is-primary:hover {
    background: var(--ex-brand-dark) !important;
    border-color: var(--ex-brand-dark) !important;
}

.z4-exhibitions-admin .z4-exhibitions-checks article > span,
.z4-exhibitions-admin .z4-verification-stage-card.is-action > span,
.z4-exhibitions-admin .z4-verification-stage-card.is-ready > span,
.z4-exhibitions-admin .z4-verification-waiting.is-setup > span,
.z4-exhibitions-admin .z4-verification-submission-icon {
    background: var(--ex-brand-soft) !important;
    color: var(--ex-brand-dark) !important;
}

/* Artwork form wizard: one focused stage at a time. */
.z4-autosave-status button[hidden],
.z4-artwork-step-panel[hidden],
.z4-artwork-step-panel [hidden],
.z4-artwork-wizard-actions [hidden] {
    display: none !important;
}

.z4-artwork-stepper {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 18px 0;
    scroll-margin-top: 18px;
}

.z4-artwork-stepper button {
    align-items: center;
    background: #fff;
    border: 1px solid #ddd5d3;
    border-radius: 14px;
    color: var(--ex-ink);
    cursor: pointer;
    display: grid;
    gap: 3px 10px;
    grid-template-columns: 34px minmax(0, 1fr);
    min-height: 82px;
    padding: 13px;
    text-align: left;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.z4-artwork-stepper button:hover {
    background: #fffafa;
    border-color: var(--ex-brand);
    transform: translateY(-1px);
}

.z4-artwork-stepper button > span {
    align-items: center;
    background: #f3eeee;
    border-radius: 50%;
    color: var(--ex-brand-dark);
    display: inline-flex;
    font-weight: 800;
    grid-row: 1 / 3;
    height: 34px;
    justify-content: center;
    width: 34px;
}

.z4-artwork-stepper strong {
    font-size: 14px;
    line-height: 1.25;
}

.z4-artwork-stepper small {
    color: var(--ex-muted);
    font-size: 10px;
    line-height: 1.35;
}

.z4-artwork-stepper button.is-current {
    background: var(--ex-brand);
    border-color: var(--ex-brand);
    box-shadow: 0 10px 24px rgba(142, 0, 0, .16);
    color: #fff;
}

.z4-artwork-stepper button.is-current > span {
    background: #fff;
    color: var(--ex-brand);
}

.z4-artwork-stepper button.is-current strong,
.z4-artwork-stepper button.is-current small {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

.z4-artwork-step-panel {
    margin-bottom: 0;
    min-height: 390px;
}

.z4-artwork-step-panel .z4-exhibitions-fields > label:not(.z4-exhibitions-consent),
.z4-artwork-step-panel .z4-exhibitions-conditional > label {
    position: relative;
}

.z4-artwork-step-panel .z4-exhibitions-fields > label:not(.z4-exhibitions-consent) > b,
.z4-artwork-step-panel .z4-exhibitions-conditional > label > b {
    inset-inline-end: 0;
    line-height: 1;
    position: absolute;
    top: 2px;
}

.z4-artwork-step-panel input:not([type="checkbox"]):not([type="hidden"]):not([type="file"]),
.z4-artwork-step-panel select {
    height: 46px;
}

.z4-artwork-step-panel .z4-exhibitions-fields:not(.is-single) > label:has(> em) + label:not(:has(> em)) > input:not([type="hidden"]),
.z4-artwork-step-panel .z4-exhibitions-fields:not(.is-single) > label:has(> em) + label:not(:has(> em)) > select,
.z4-artwork-step-panel .z4-exhibitions-fields:not(.is-single) > label:not(:has(> em)):has(+ label > em) > input:not([type="hidden"]),
.z4-artwork-step-panel .z4-exhibitions-fields:not(.is-single) > label:not(:has(> em)):has(+ label > em) > select {
    margin-top: 20px;
}

.z4-artwork-wizard-actions {
    align-items: center;
    margin-top: 16px;
}

.z4-artwork-wizard-actions > div {
    display: flex;
    gap: 10px;
    margin-left: auto;
}

.z4-artwork-workflow-card,
.z4-artwork-images-step-content {
    align-items: center;
    background: #faf8f7;
    border: 1px solid #eee6e3;
    border-radius: 14px;
    display: flex;
    gap: 24px;
    justify-content: space-between;
    margin-top: 24px;
    padding: 22px;
}

.z4-artwork-workflow-card p,
.z4-artwork-images-step-content p {
    color: var(--ex-muted);
    margin: 7px 0 0;
    max-width: 680px;
}

.z4-artwork-workflow-card .z4-exhibitions-button,
.z4-artwork-images-step-content .z4-exhibitions-button {
    flex: 0 0 auto;
    white-space: nowrap;
}

.z4-artwork-submit-confirmation {
    background: var(--ex-brand-soft);
    border: 1px solid #ecc7c7;
    border-radius: 12px;
    gap: 12px;
    margin-top: 18px;
    padding: 16px;
    width: 100%;
}

.z4-artwork-submit-confirmation input[type="checkbox"] {
    accent-color: var(--ex-brand);
    flex: 0 0 20px;
    height: 20px;
    margin: 2px 0 0;
    width: 20px;
}

.z4-artwork-submit-confirmation span {
    display: grid;
    gap: 5px;
}

.z4-artwork-submit-confirmation small {
    color: var(--ex-muted);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
}

.z4-artwork-media-summary {
    color: var(--ex-brand-dark);
    display: block;
    font-size: 12px;
    font-weight: 750;
    margin-top: 8px;
}

.z4-artwork-detail-toolbar {
    align-items: center;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin: 18px 0;
}

.z4-artwork-detail-back {
    align-items: center;
    color: var(--ex-brand-dark);
    display: inline-flex;
    font-weight: 750;
    gap: 7px;
    min-height: 44px;
    text-decoration: none;
}

.z4-artwork-detail-back:hover { text-decoration: underline; }
.z4-artwork-detail-back > span { font-size: 18px; }

.z4-artwork-detail-actions {
    align-items: center;
    display: flex;
    gap: 10px;
}

.z4-artwork-detail-actions .z4-exhibitions-button { min-width: 142px; }

.z4-artwork-detail-grid {
    align-items: start;
    gap: 18px;
    grid-template-columns: minmax(0, 1.7fr) minmax(290px, .7fr);
}

.z4-artwork-detail-information,
.z4-artwork-revision-panel { min-width: 0; }

.z4-artwork-detail-main {
    display: grid;
    gap: 18px;
    min-width: 0;
}

[data-artwork-detail] .z4-exhibitions-panel-heading > div {
    align-items: flex-start;
    flex: 1;
    flex-direction: column;
    gap: 0;
    min-width: 0;
}

[data-artwork-detail] .z4-exhibitions-panel-heading > div > p {
    color: var(--ex-muted);
    font-size: 12px;
    line-height: 1.5;
    margin: 4px 0 0;
}

.z4-artwork-detail-section + .z4-artwork-detail-section {
    border-top: 1px solid var(--ex-border);
    margin-top: 22px;
    padding-top: 22px;
}

.z4-artwork-detail-section > h3,
.z4-artwork-shipping-note > h3 {
    color: var(--ex-brand-dark);
    font-size: 12px;
    letter-spacing: .04em;
    margin: 0 0 8px;
    text-transform: uppercase;
}

.z4-artwork-detail-data-grid {
    display: grid;
    gap: 0 28px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
}

.z4-artwork-detail-data-grid > div {
    border-bottom: 1px solid var(--ex-border);
    min-width: 0;
    padding: 13px 8px;
}

.z4-artwork-detail-data-grid dt {
    color: var(--ex-muted);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .035em;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.z4-artwork-detail-data-grid dd {
    color: var(--ex-ink);
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
    overflow-wrap: anywhere;
}

.z4-artwork-prose-list {
    display: grid;
    gap: 12px;
}

.z4-artwork-prose-list article,
.z4-artwork-shipping-note {
    background: #faf8f7;
    border: 1px solid var(--ex-border);
    border-radius: 11px;
    padding: 15px 16px;
}

.z4-artwork-prose-list h3 {
    color: var(--ex-ink);
    font-size: 13px;
    margin: 0 0 7px;
}

.z4-artwork-prose-list p,
.z4-artwork-shipping-note p {
    color: var(--ex-text);
    line-height: 1.75;
    margin: 0;
    overflow-wrap: anywhere;
    white-space: pre-line;
}

.z4-artwork-shipping-note { margin-top: 16px; }
.z4-artwork-shipping-note > h3 { margin-bottom: 6px; }

.z4-artwork-revision-panel {
    min-width: 0;
    position: sticky;
    top: 18px;
}
.z4-artwork-revision-panel .z4-exhibitions-panel-heading { align-items: flex-start; }
.z4-artwork-revision-panel .z4-exhibitions-panel-heading > div {
    align-items: flex-start;
    flex: 1;
    flex-direction: column;
    gap: 0;
    min-width: 0;
}
.z4-artwork-revision-panel .z4-exhibitions-panel-heading p { color: var(--ex-muted); font-size: 12px; margin: 4px 0 0; }
.z4-artwork-revision-count {
    align-items: center;
    background: var(--ex-brand-soft);
    border-radius: 999px;
    color: var(--ex-brand-dark);
    display: flex;
    flex: 0 0 30px;
    font-size: 11px;
    font-weight: 800;
    height: 30px;
    justify-content: center;
}

.z4-artwork-revision-list {
    margin-top: 18px;
    max-height: 620px;
    overflow: auto;
    padding-right: 6px;
}

[data-artwork-detail] .z4-exhibitions-details dd { overflow-wrap: anywhere; }

@media (max-width: 700px) {
    .z4-artwork-detail-toolbar { align-items: stretch; display: grid; }
    .z4-artwork-detail-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .z4-artwork-detail-actions .z4-exhibitions-button { min-width: 0; width: 100%; }
    .z4-artwork-detail-grid { grid-template-columns: 1fr; }
    .z4-artwork-detail-data-grid { grid-template-columns: 1fr; }
    .z4-artwork-revision-panel { position: static; }
    .z4-artwork-revision-list { max-height: 480px; }
}

@media (min-width: 701px) and (max-width: 1050px) {
    .z4-artwork-detail-grid { grid-template-columns: 1fr; }
    .z4-artwork-revision-panel { position: static; }
}

.z4-authenticity-overview {
    align-items: center;
    display: flex;
    margin-bottom: 14px;
    width: 100%;
}

.z4-authenticity-overview-actions {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    padding: 0;
    width: 100%;
}

.z4-authenticity-guide {
    background: #fff;
    border: 1px solid var(--ex-border);
    border-radius: 14px;
    display: grid;
    gap: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    list-style: none;
    margin: 0 0 18px;
    overflow: hidden;
    padding: 0;
}

.z4-authenticity-guide li {
    align-items: center;
    background: transparent;
    border: 0;
    display: flex;
    gap: 11px;
    min-width: 0;
    padding: 14px 16px;
}

.z4-authenticity-guide li + li { border-left: 1px solid var(--ex-border); }

.z4-authenticity-guide b {
    align-items: center;
    background: var(--ex-brand-soft);
    border-radius: 50%;
    color: var(--ex-brand-dark);
    display: flex;
    flex: 0 0 32px;
    height: 32px;
    justify-content: center;
}

.z4-authenticity-guide span,
.z4-authenticity-guide strong,
.z4-authenticity-guide small { display: block; min-width: 0; }
.z4-authenticity-guide small { color: var(--ex-muted); font-size: 11px; margin-top: 2px; }

.z4-authenticity-grid {
    align-items: start;
    gap: 18px;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, .8fr);
}

[data-authenticity-workspace] .z4-authenticity-grid > .z4-exhibitions-panel,
[data-authenticity-workspace] .z4-authenticity-grid form,
[data-authenticity-workspace] .z4-authenticity-grid form > label { min-width: 0; }

[data-authenticity-workspace] .z4-exhibitions-section-title {
    align-items: start;
}

[data-authenticity-workspace] .z4-exhibitions-section-title > em {
    background: #f7f4f3;
    border-radius: 999px;
    color: var(--ex-muted);
    font-size: 10px;
    font-style: normal;
    font-weight: 750;
    margin-left: auto;
    padding: 6px 9px;
    white-space: nowrap;
}

.z4-authenticity-choice-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 18px;
}

.z4-authenticity-choice {
    align-items: center;
    background: #faf8f7;
    border: 1px solid var(--ex-border);
    border-radius: 12px;
    cursor: pointer;
    display: flex !important;
    gap: 11px;
    min-height: 76px;
    padding: 13px 14px;
    transition: background .15s ease, border-color .15s ease, box-shadow .15s ease;
    width: 100%;
}

.z4-authenticity-choice:hover { border-color: #cfa7a2; }
.z4-authenticity-choice.is-selected {
    background: var(--ex-brand-soft);
    border-color: var(--ex-brand);
    box-shadow: 0 0 0 1px var(--ex-brand);
}

.z4-authenticity-choice strong,
.z4-authenticity-choice small { display: block; }
.z4-authenticity-choice small { color: var(--ex-muted); font-size: 11px; font-weight: 500; line-height: 1.45; margin-top: 3px; }

[data-authenticity-workspace] input[type="checkbox"],
[data-authenticity-workspace] input[type="radio"],
[data-authenticity-review] fieldset input {
    accent-color: var(--ex-brand);
    appearance: auto;
    border: 0;
    box-shadow: none;
    flex: 0 0 18px;
    height: 18px !important;
    margin: 0;
    min-width: 18px !important;
    padding: 0 !important;
    width: 18px !important;
}

.z4-authenticity-choice > span { flex: 1; min-width: 0; }

.z4-authenticity-disclosures {
    border-top: 1px solid var(--ex-border);
    display: grid;
    gap: 14px;
    margin-top: 20px;
    padding-top: 18px;
}

.z4-authenticity-disclosures label > small,
.z4-authenticity-provenance-body label > small {
    color: var(--ex-muted);
    display: block;
    font-size: 11px;
    font-weight: 500;
    margin: 3px 0 7px;
}

.z4-authenticity-disclosures label > span b { color: var(--ex-brand); }

.z4-authenticity-context {
    background: #f7f4f3;
    border: 1px solid var(--ex-border);
    border-radius: 10px;
    margin: 16px 0 14px;
    padding: 11px 12px;
}

.z4-authenticity-context strong,
.z4-authenticity-context span { display: block; }
.z4-authenticity-context span { color: var(--ex-muted); font-size: 11px; line-height: 1.45; margin-top: 3px; }
.z4-authenticity-context.is-ready { background: #fff8f7; border-color: #dfbbb7; }

[data-authenticity-workspace] .z4-exhibitions-upload {
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}

[data-authenticity-workspace] .z4-exhibitions-upload input[type="file"] {
    min-width: 0;
    width: 100%;
}

.z4-authenticity-upload { margin-top: 14px; }
.z4-authenticity-upload [data-evidence-file-name] {
    color: var(--ex-brand-dark);
    display: block;
    font-size: 11px;
    font-weight: 700;
    margin-top: 7px;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.z4-authenticity-files-heading {
    align-items: center;
    border-top: 1px solid var(--ex-border);
    display: flex;
    justify-content: space-between;
    margin-top: 18px;
    padding-top: 16px;
}
.z4-authenticity-files-heading span { color: var(--ex-muted); font-size: 11px; }

.z4-authenticity-evidence-list {
    margin-top: 10px;
}

.z4-authenticity-evidence-list li {
    align-items: center;
    display: grid;
    gap: 10px;
    grid-template-columns: 38px minmax(0, 1fr);
}

.z4-authenticity-file-icon {
    align-items: center;
    background: var(--ex-brand-soft);
    border-radius: 8px;
    color: var(--ex-brand-dark);
    display: flex;
    font-size: 9px;
    font-weight: 800;
    height: 38px;
    justify-content: center;
    overflow: hidden;
    padding: 3px;
    text-transform: uppercase;
}

.z4-authenticity-file-copy,
.z4-authenticity-file-copy a,
.z4-authenticity-file-copy small { display: block; min-width: 0; }
.z4-authenticity-file-copy a { overflow-wrap: anywhere; }
.z4-authenticity-file-copy small { color: var(--ex-muted); font-size: 10px; margin-top: 3px; }
.z4-authenticity-evidence-list .z4-authenticity-empty { display: block; grid-template-columns: none; text-align: center; }
.z4-authenticity-empty small { color: var(--ex-muted); display: block; font-size: 11px; margin-top: 3px; }

.z4-field-error {
    color: var(--ex-brand);
    display: block;
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
    margin-top: 6px;
}

.z4-authenticity-provenance {
    margin-top: 18px;
    padding: 0;
}

.z4-authenticity-provenance > summary {
    align-items: center;
    cursor: pointer;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    list-style: none;
    padding: 22px;
}

.z4-authenticity-provenance > summary::-webkit-details-marker { display: none; }
.z4-authenticity-provenance > summary::after {
    color: var(--ex-brand-dark);
    content: '+';
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
}
.z4-authenticity-provenance[open] > summary::after { content: '−'; }
.z4-authenticity-provenance > summary > em {
    background: #f7f4f3;
    border-radius: 999px;
    color: var(--ex-muted);
    font-size: 10px;
    font-style: normal;
    font-weight: 750;
    margin-left: auto;
    padding: 6px 9px;
}
.z4-authenticity-provenance .z4-exhibitions-section-title { margin: 0; }
.z4-authenticity-provenance .z4-exhibitions-section-title > span:last-child strong,
.z4-authenticity-provenance .z4-exhibitions-section-title > span:last-child small { display: block; }
.z4-authenticity-provenance .z4-exhibitions-section-title > span:last-child small { color: var(--ex-muted); font-size: 13px; font-weight: 500; margin-top: 4px; }
.z4-authenticity-provenance-body {
    border-top: 1px solid var(--ex-border);
    display: grid;
    gap: 14px;
    padding: 22px;
}

.z4-authenticity-history { margin-top: 18px; }
.z4-authenticity-history .z4-exhibitions-timeline { margin-top: 18px; }

.z4-authenticity-save-bar {
    align-items: center;
    backdrop-filter: blur(12px);
    background: rgba(255,255,255,.94);
    border: 1px solid var(--ex-border);
    border-radius: 14px;
    bottom: 12px;
    box-shadow: 0 10px 30px rgba(62, 13, 9, .12);
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin-top: 18px;
    padding: 13px 14px 13px 18px;
    position: sticky;
    z-index: 5;
}

.z4-authenticity-save-bar > span,
.z4-authenticity-save-bar strong,
.z4-authenticity-save-bar small { display: block; }
.z4-authenticity-save-bar small { color: var(--ex-muted); font-size: 11px; margin-top: 3px; }
html body .z4-exhibitions-admin .z4-authenticity-save-bar button.z4-exhibitions-button {
    background-color: #8e0000 !important;
    background-image: none !important;
    border-color: #8e0000 !important;
    box-shadow: 0 10px 22px rgba(87, 3, 3, .16) !important;
    color: #fff !important;
    flex: 0 0 auto;
    min-width: 190px;
}
html body .z4-exhibitions-admin .z4-authenticity-save-bar button.z4-exhibitions-button:hover { background-color: #570303 !important; }

.z4-authenticity-save-actions {
    justify-content: flex-end;
    margin-top: 0;
}

.z4-authenticity-save-actions {
    justify-content: flex-end;
    margin-top: 0;
}

.z4-authenticity-save-actions .z4-exhibitions-button {
    min-width: 190px;
}

[data-authenticity-workspace] .z4-exhibitions-timeline .is-action-required > span {
    background: var(--ex-brand);
}

[data-authenticity-workspace] .z4-exhibitions-timeline .is-action-required small {
    background: var(--ex-brand-soft);
    border-radius: 8px;
    color: var(--ex-brand-dark);
    display: block;
    margin-top: 8px;
    padding: 9px 10px;
}

@media (max-width: 700px) {
    .z4-authenticity-overview { display: grid; }
    .z4-authenticity-overview-actions { justify-content: space-between; }
    .z4-authenticity-guide { grid-template-columns: 1fr; }
    .z4-authenticity-guide li + li { border-left: 0; border-top: 1px solid var(--ex-border); }
    .z4-authenticity-grid { grid-template-columns: 1fr; }
    .z4-authenticity-choice-grid { grid-template-columns: 1fr; }
    .z4-authenticity-choice { min-height: 68px; }
    .z4-authenticity-provenance > summary { align-items: flex-start; padding: 18px; }
    .z4-authenticity-provenance > summary > em { display: none; }
    .z4-authenticity-provenance-body { padding: 18px; }
    .z4-authenticity-save-bar { align-items: stretch; display: grid; bottom: 8px; padding: 14px; }
    .z4-authenticity-save-bar .z4-exhibitions-button { width: 100%; }
    [data-authenticity-review] fieldset label { min-height: 44px; }
    .z4-authenticity-save-actions .z4-exhibitions-button { width: 100%; }
}

@media (min-width: 701px) and (max-width: 1050px) {
    .z4-authenticity-grid { grid-template-columns: 1fr; }
}

.z4-artwork-wizard-actions button.is-secondary {
    background: #fff !important;
    border: 1px solid var(--ex-brand) !important;
    color: var(--ex-brand) !important;
    -webkit-text-fill-color: var(--ex-brand) !important;
}

.z4-artwork-wizard-actions button.is-secondary:hover {
    background: var(--ex-brand-soft) !important;
}

.z4-artwork-wizard-actions button.is-primary {
    background: var(--ex-brand) !important;
    border: 1px solid var(--ex-brand) !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

.z4-artwork-wizard-actions button.is-primary:hover {
    background: var(--ex-brand-dark) !important;
    border-color: var(--ex-brand-dark) !important;
}

@media (max-width: 1000px) {
    .z4-artwork-stepper { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
    .z4-artwork-stepper {
        display: flex;
        margin-inline: -2px;
        overflow-x: auto;
        padding: 2px 2px 8px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .z4-artwork-stepper::-webkit-scrollbar { display: none; }
    .z4-artwork-stepper button { flex: 0 0 min(78vw, 280px); scroll-snap-align: start; }
    .z4-artwork-step-panel { min-height: 0; }
    .z4-artwork-wizard-actions > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; width: 100%; }
    .z4-artwork-wizard-actions > div [data-artwork-submit] { grid-column: 1 / -1; }
    .z4-artwork-workflow-card, .z4-artwork-images-step-content { align-items: stretch; flex-direction: column; }
    .z4-artwork-workflow-card .z4-exhibitions-button, .z4-artwork-images-step-content .z4-exhibitions-button { width: 100%; }
}

/* Public artwork catalogue */
.z4-public-artworks-index {
    background: #f8f5f3;
    color: #211817;
    min-height: 70vh;
    padding: 42px 24px 72px;
}

.z4-artworks-index-hero,
.z4-artworks-index-shell {
    margin-inline: auto;
    max-width: 1180px;
}

.z4-artworks-index-hero {
    align-items: end;
    background: linear-gradient(135deg, #4d0505 0%, #8c0909 60%, #b62417 100%);
    border-radius: 24px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
    min-height: 240px;
    overflow: hidden;
    padding: 42px 48px;
    position: relative;
}

.z4-artworks-index-hero::after {
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 50%;
    content: '';
    height: 280px;
    left: -70px;
    position: absolute;
    top: -130px;
    width: 280px;
}

.z4-artworks-index-eyebrow {
    color: #ffd6cc;
    display: block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    margin-bottom: 12px;
}

.z4-artworks-index-hero h1 {
    color: inherit;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.1;
    margin: 0 0 14px;
}

.z4-artworks-index-hero p {
    color: rgba(255, 255, 255, .86);
    font-size: 17px;
    line-height: 1.8;
    margin: 0;
    max-width: 680px;
}

.z4-artworks-index-count {
    align-items: center;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    min-width: 130px;
    padding: 18px 22px;
    position: relative;
    z-index: 1;
}

.z4-artworks-index-count strong { color: #fff; font-size: 34px; line-height: 1; }
.z4-artworks-index-count span { color: #ffd6cc; font-size: 13px; margin-top: 8px; }

.z4-artworks-index-filters {
    align-items: end;
    background: #fff;
    border: 1px solid #eaded9;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(72, 26, 20, .05);
    display: grid;
    gap: 14px;
    grid-template-columns: 2fr 1fr auto;
    margin-bottom: 28px;
    padding: 20px;
}

.z4-artworks-index-filters label { display: grid; gap: 8px; }
.z4-artworks-index-filters label > span { color: #5b4440; font-size: 13px; font-weight: 700; }
.z4-artworks-index-filters input,
.z4-artworks-index-filters select {
    background: #fff;
    border: 1px solid #d9cac5;
    border-radius: 11px;
    color: #211817;
    font: inherit;
    height: 48px;
    outline: none;
    padding: 0 14px;
    width: 100%;
}

.z4-artworks-index-filters input:focus,
.z4-artworks-index-filters select:focus { border-color: #a90000; box-shadow: 0 0 0 3px rgba(169, 0, 0, .1); }
.z4-artworks-index-filter-actions { align-items: center; display: flex; gap: 12px; min-height: 48px; }
.z4-artworks-index-filter-actions button,
.z4-artworks-index-filter-actions a,
.z4-artworks-index-empty a {
    align-items: center;
    border-radius: 11px;
    display: inline-flex;
    font-weight: 700;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    text-decoration: none;
}
.z4-artworks-index-filter-actions button { background: #a90000; border: 1px solid #a90000; color: #fff; cursor: pointer; }
.z4-artworks-index-filter-actions button:hover { background: #760000; }
.z4-artworks-index-filter-actions a { color: #8a0000; padding-inline: 5px; }

.z4-artworks-index-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.z4-artworks-index-card {
    background: #fff;
    border: 1px solid #eaded9;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(72, 26, 20, .05);
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}
.z4-artworks-index-card:hover { box-shadow: 0 16px 38px rgba(72, 26, 20, .11); transform: translateY(-3px); }
.z4-artworks-index-image {
    align-items: center;
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, #eadbd4, #f8f2ef);
    display: flex;
    justify-content: center;
    overflow: hidden;
    position: relative;
}
.z4-artworks-index-image > img { height: 100%; object-fit: cover; transition: transform .35s ease; width: 100%; }
.z4-artworks-index-card:hover .z4-artworks-index-image > img { transform: scale(1.025); }
.z4-artworks-index-image > span { color: rgba(126, 0, 0, .22); font-size: 48px; font-weight: 800; letter-spacing: .12em; }
.z4-artworks-index-image > em {
    background: #f4e7e5;
    border-radius: 999px;
    bottom: 14px;
    color: #6e514c;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    padding: 7px 11px;
    position: absolute;
    right: 14px;
}
.z4-artworks-index-image > em.is-available { background: #e8f6eb; color: #187238; }
.z4-artworks-index-image > em.is-sold { background: #f5e4e4; color: #8a1818; }
.z4-artworks-index-image > em.is-reserved { background: #fff0cf; color: #80540a; }
.z4-artworks-index-image > em.is-unavailable { background: #ece9e8; color: #625957; }
.z4-artworks-index-card-body { padding: 20px; }
.z4-artworks-index-meta { color: #8d706a; display: flex; font-size: 12px; gap: 10px; justify-content: space-between; }
.z4-artworks-index-card h2 { font-size: 21px; line-height: 1.35; margin: 10px 0 6px; }
.z4-artworks-index-card h2 a { color: #2c1c19; text-decoration: none; }
.z4-artworks-index-card h2 a:hover { color: #a90000; }
.z4-artworks-index-card-body > p { color: #6f5651; margin: 0; }
.z4-artworks-index-description { display: -webkit-box; font-size: 13px; line-height: 1.6; margin-top: 13px !important; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.z4-artworks-index-card footer { align-items: center; border-top: 1px solid #f0e7e4; display: flex; justify-content: space-between; margin-top: 18px; padding-top: 16px; }
.z4-artworks-index-card footer strong { color: #a90000; }
.z4-artworks-index-card footer a { color: #5f0707; font-size: 13px; font-weight: 700; text-decoration: none; }

.z4-artworks-index-empty { background: #fff; border: 1px solid #eaded9; border-radius: 18px; padding: 64px 24px; text-align: center; }
.z4-artworks-index-empty strong { display: block; font-size: 24px; }
.z4-artworks-index-empty p { color: #765f5a; }
.z4-artworks-index-empty a { background: #a90000; color: #fff; margin-top: 10px; }
.z4-artworks-index-pagination { direction: ltr; margin-top: 30px; }

@media (max-width: 980px) {
    .z4-artworks-index-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .z4-artworks-index-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 650px) {
    .z4-public-artworks-index { padding: 20px 14px 50px; }
    .z4-artworks-index-hero { align-items: start; border-radius: 18px; flex-direction: column; gap: 24px; padding: 30px 24px; }
    .z4-artworks-index-count { align-self: stretch; flex-direction: row; gap: 10px; justify-content: center; }
    .z4-artworks-index-count span { margin-top: 0; }
    .z4-artworks-index-filters { grid-template-columns: 1fr; padding: 16px; }
    .z4-artworks-index-filter-actions { justify-content: space-between; }
    .z4-artworks-index-grid { grid-template-columns: 1fr; }
}

/* Public virtual exhibition landing page */
.z4-public-virtual-index {
    background: #f8f5f3;
    color: #211817;
    min-height: 70vh;
    padding: 42px 24px 72px;
}
.z4-virtual-index-hero,
.z4-virtual-index-shell { margin-inline: auto; max-width: 1180px; }
.z4-virtual-index-hero {
    align-items: end;
    background: linear-gradient(135deg, #281716 0%, #670707 58%, #a51a12 100%);
    border-radius: 24px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    margin-bottom: 28px;
    min-height: 260px;
    overflow: hidden;
    padding: 44px 48px;
    position: relative;
}
.z4-virtual-index-hero::before,
.z4-virtual-index-hero::after {
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 50%;
    content: '';
    position: absolute;
}
.z4-virtual-index-hero::before { height: 290px; left: -80px; top: -150px; width: 290px; }
.z4-virtual-index-hero::after { bottom: -190px; height: 330px; right: 36%; width: 330px; }
.z4-virtual-index-hero > div { position: relative; z-index: 1; }
.z4-virtual-index-hero > div > span { color: #ffd5ca; display: block; font-size: 13px; font-weight: 750; margin-bottom: 12px; }
.z4-virtual-index-hero h1 { color: inherit; font-size: clamp(34px,5vw,58px); line-height: 1.1; margin: 0 0 14px; }
.z4-virtual-index-hero p { color: rgba(255,255,255,.86); font-size: 17px; line-height: 1.8; margin: 0; max-width: 680px; }
.z4-virtual-index-count {
    align-items: center;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.23);
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    min-width: 136px;
    padding: 20px 24px;
}
.z4-virtual-index-count strong { color: #fff; font-size: 36px; line-height: 1; }
.z4-virtual-index-count span { color: #ffd5ca; font-size: 13px; margin-top: 8px; }
.z4-virtual-index-heading { align-items: end; display: flex; gap: 24px; justify-content: space-between; margin-bottom: 20px; }
.z4-virtual-index-heading span { color: #9a1611; display: block; font-size: 12px; font-weight: 750; margin-bottom: 5px; }
.z4-virtual-index-heading h2 { font-size: 28px; margin: 0; }
.z4-virtual-index-heading > a { border: 1px solid #d8c7c2; border-radius: 11px; color: #7d0b08; font-size: 13px; font-weight: 750; padding: 11px 16px; text-decoration: none; }
.z4-virtual-index-heading > a:hover { background: #fff; border-color: #9a1611; }
.z4-virtual-index-grid { display: grid; gap: 22px; grid-template-columns: repeat(2,minmax(0,1fr)); }
.z4-virtual-index-card {
    background: #fff;
    border: 1px solid #eaded9;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(72,26,20,.06);
    display: grid;
    grid-template-columns: minmax(170px,.65fr) minmax(0,1.35fr);
    overflow: hidden;
    transition: transform .2s ease,box-shadow .2s ease;
}
.z4-virtual-index-card:hover { box-shadow: 0 17px 40px rgba(72,26,20,.12); transform: translateY(-3px); }
.z4-virtual-index-card-visual {
    align-items: center;
    background: linear-gradient(150deg,#1a1211,#5d0b09 68%,#b42a19);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 280px;
    position: relative;
}
.z4-virtual-index-card-visual::after { border: 1px solid rgba(255,255,255,.2); border-radius: 50%; content: ''; height: 130px; position: absolute; width: 130px; }
.z4-virtual-index-card-visual span { font-size: 47px; font-weight: 850; letter-spacing: -.05em; line-height: 1; position: relative; z-index: 1; }
.z4-virtual-index-card-visual b { color: #ffd5ca; font-size: 12px; margin-top: 9px; position: relative; z-index: 1; }
.z4-virtual-index-card-body { padding: 26px; }
.z4-virtual-index-card-body > span { color: #9a1611; font-size: 11px; font-weight: 800; }
.z4-virtual-index-card h3 { font-size: 24px; margin: 8px 0 10px; }
.z4-virtual-index-card p { color: #705a55; font-size: 14px; line-height: 1.65; margin: 0; }
.z4-virtual-index-card dl { display: grid; gap: 9px; grid-template-columns: repeat(2,minmax(0,1fr)); margin: 20px 0; }
.z4-virtual-index-card dl div { background: #faf6f4; border-radius: 10px; padding: 10px 12px; }
.z4-virtual-index-card dt { color: #826b65; font-size: 11px; }
.z4-virtual-index-card dd { color: #341f1c; font-size: 17px; font-weight: 800; margin: 3px 0 0; }
.z4-virtual-index-card-body > a { align-items: center; background: #9a0b08; border-radius: 11px; color: #fff; display: inline-flex; font-weight: 750; justify-content: center; min-height: 46px; padding: 0 22px; text-decoration: none; }
.z4-virtual-index-card-body > a:hover { background: #6c0604; }
.z4-virtual-index-empty { background: #fff; border: 1px solid #eaded9; border-radius: 18px; padding: 64px 24px; text-align: center; }
.z4-virtual-index-empty strong { display: block; font-size: 24px; }
.z4-virtual-index-empty p { color: #765f5a; }
@media (max-width: 900px) {
    .z4-virtual-index-grid { grid-template-columns: 1fr; }
}
@media (max-width: 650px) {
    .z4-public-virtual-index { padding: 20px 14px 50px; }
    .z4-virtual-index-hero { align-items: start; border-radius: 18px; flex-direction: column; gap: 24px; padding: 30px 24px; }
    .z4-virtual-index-count { align-self: stretch; flex-direction: row; gap: 10px; justify-content: center; }
    .z4-virtual-index-count span { margin-top: 0; }
    .z4-virtual-index-heading { align-items: stretch; flex-direction: column; }
    .z4-virtual-index-heading > a { text-align: center; }
    .z4-virtual-index-card { grid-template-columns: 1fr; }
    .z4-virtual-index-card-visual { min-height: 190px; }
}

/* Focused Exhibitions settings pages and finance-only artwork sales. */
.z4-settings-toolbar[hidden] { display: none !important; }
.z4-settings-page-groups { display: grid; gap: 16px; }
.z4-settings-page-group { background: #fcfaf9; border: 1px solid #ebe2df; border-radius: 14px; overflow: hidden; }
.z4-settings-page-group > header { align-items: flex-start; background: #fff; border-bottom: 1px solid #ebe2df; display: flex; gap: 18px; justify-content: space-between; padding: 18px 20px; }
.z4-settings-page-group > header h2 { color: var(--ex-ink); font-size: 18px; margin: 0 0 5px; }
.z4-settings-page-group > header p { color: var(--ex-muted); font-size: 12px; line-height: 1.55; margin: 0; }
.z4-settings-page-group > header > small { color: var(--ex-muted); flex: 0 0 auto; font-size: 10px; }
.z4-settings-page-group > .z4-settings-fields { padding: 4px 20px 18px; }
.z4-settings-history > summary { align-items: center; cursor: pointer; display: flex; justify-content: space-between; list-style: none; padding: 4px; }
.z4-settings-history > summary span { color: var(--ex-muted); font-size: 12px; }
.z4-settings-history[open] > summary { border-bottom: 1px solid var(--ex-border); margin-bottom: 14px; padding-bottom: 14px; }
.z4-danger-zone > summary { color: #8a1515; cursor: pointer; font-weight: 800; list-style: none; padding: 16px 20px; }
.z4-sales-filters { grid-template-columns: minmax(260px, 2fr) minmax(170px, 1fr) minmax(190px, 1fr) auto; }
.z4-sales-table { min-width: 1500px; table-layout: auto; }
.z4-sales-table th:nth-child(n) { width: auto; }
.z4-sales-table td { white-space: nowrap; }
.z4-sales-table td:nth-child(2), .z4-sales-table td:nth-child(3) { min-width: 170px; white-space: normal; }
.z4-sales-order-link { display: block; }

/* Artist-requested payout workflow. */
.z4-payout-status-card { align-items: center; display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr) minmax(220px, .38fr); }
.z4-payout-status-card h2 { margin: 4px 0 8px; }
.z4-payout-status-card p { color: var(--ex-muted); line-height: 1.65; margin: 0; max-width: 760px; }
.z4-payout-method { background: #fcf8f7; border: 1px solid var(--ex-border); border-radius: 12px; display: grid; gap: 5px; padding: 16px; }
.z4-payout-method span, .z4-payout-method small { color: var(--ex-muted); font-size: 12px; }
.z4-payout-method a { color: var(--ex-brand); font-weight: 750; }
.z4-payout-action-panel > p { color: var(--ex-muted); line-height: 1.6; }
.z4-payout-actions { align-items: start; display: flex; flex-wrap: wrap; gap: 12px; }
.z4-payout-actions details { border: 1px solid var(--ex-border); border-radius: 12px; min-width: min(100%, 420px); padding: 13px 16px; }
.z4-payout-actions details summary { color: var(--ex-brand-dark); cursor: pointer; font-weight: 750; }
.z4-payout-actions details form { margin-top: 14px; }
.z4-payout-review-grid { align-items: start; }
.z4-payout-action-panel details { border-top: 1px solid var(--ex-border); margin-top: 18px; padding-top: 14px; }
.z4-payout-action-panel details summary { color: var(--ex-brand-dark); cursor: pointer; font-weight: 750; }
.z4-exhibitions-panel > summary { align-items: center; cursor: pointer; display: flex; gap: 16px; justify-content: space-between; list-style: none; }
.z4-exhibitions-panel > summary::-webkit-details-marker { display: none; }
.z4-exhibitions-panel > summary span { color: var(--ex-muted); font-size: 12px; font-weight: 500; }
.z4-exhibitions-panel[open] > summary { border-bottom: 1px solid var(--ex-border); margin-bottom: 18px; padding-bottom: 16px; }

@media (max-width: 700px) {
    .z4-settings-page-group > header { display: grid; padding: 16px; }
    .z4-settings-page-group > header > small { white-space: normal; }
    .z4-settings-page-group > .z4-settings-fields { padding-inline: 14px; }
    .z4-settings-toolbar { position: static; }
    .z4-sales-filters { grid-template-columns: 1fr; }
    .z4-payout-status-card { grid-template-columns: 1fr; }
    .z4-payout-actions, .z4-payout-actions form, .z4-payout-actions .z4-exhibitions-button { width: 100%; }
}

/* Virtual room slot editor: compact forms, clear state, and stable controls. */
[data-ve-layout-editor] .z4-exhibitions-heading { margin-bottom: 22px; }
[data-ve-layout-editor] .z4-ve-layout-heading-link {
    border: 1px solid #e6cbc6;
    border-radius: 10px;
    color: var(--ex-brand);
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 800;
    padding: 10px 14px;
    text-decoration: none;
}
[data-ve-layout-editor] .z4-ve-layout-heading-link:hover,
[data-ve-layout-editor] .z4-ve-layout-heading-link:focus-visible {
    background: var(--ex-brand-soft);
    border-color: var(--ex-brand);
    outline: 0;
}
[data-ve-layout-editor] .z4-ve-layout-grid {
    gap: 18px;
    grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr);
    margin-top: 18px;
}
[data-ve-layout-editor] .z4-ve-create-slot,
[data-ve-layout-editor] .z4-ve-slot-card {
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(66, 24, 19, .06);
    min-width: 0;
}
[data-ve-layout-editor] .z4-ve-create-slot {
    gap: 14px;
    padding: 20px;
    position: sticky;
    top: 18px;
}
[data-ve-layout-editor] .z4-ve-create-slot__header,
[data-ve-layout-editor] .z4-ve-slot-card__header {
    align-items: flex-start;
    border-bottom: 1px solid #eee5e2;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    padding-bottom: 14px;
}
[data-ve-layout-editor] .z4-ve-create-slot__header span,
[data-ve-layout-editor] .z4-ve-slot-card__header span {
    color: var(--ex-brand);
    display: block;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .06em;
    margin-bottom: 4px;
    text-transform: uppercase;
}
[data-ve-layout-editor] .z4-ve-create-slot__header h2,
[data-ve-layout-editor] .z4-ve-slot-card__header h2 {
    font-size: 18px;
    line-height: 1.3;
    margin: 0;
}
[data-ve-layout-editor] .z4-ve-create-slot__header p {
    color: var(--ex-muted);
    font-size: 12px;
    line-height: 1.55;
    margin: 0;
    max-width: 180px;
}
[data-ve-layout-editor] .z4-ve-slot-stack { gap: 18px; min-width: 0; }
[data-ve-layout-editor] .z4-ve-slot-card { overflow: hidden; padding: 0; }
[data-ve-layout-editor] .z4-ve-slot-edit {
    gap: 14px;
    margin: 0 !important;
    padding: 20px 20px 14px;
}
[data-ve-layout-editor] .z4-ve-form > label:not(.z4-ve-checkbox) {
    color: #354052;
    font-size: 11px;
    gap: 6px;
}
[data-ve-layout-editor] .z4-ve-form input:not([type="checkbox"]),
[data-ve-layout-editor] .z4-ve-form textarea {
    background: #fff;
    border-color: #ded7d4;
    min-height: 42px;
    padding: 9px 11px;
}
[data-ve-layout-editor] .z4-ve-form textarea { min-height: 74px; }
[data-ve-layout-editor] .z4-ve-form input:focus,
[data-ve-layout-editor] .z4-ve-form textarea:focus {
    border-color: var(--ex-brand);
    box-shadow: 0 0 0 3px var(--ex-brand-soft);
    outline: 0;
}
[data-ve-layout-editor] .z4-ve-slot-state {
    border: 1px solid #ddd5d2;
    border-radius: 999px;
    color: var(--ex-muted);
    flex: 0 0 auto;
    font-size: 10px;
    line-height: 1;
    padding: 8px 10px;
    white-space: nowrap;
}
[data-ve-layout-editor] .z4-ve-slot-state.is-available {
    background: var(--ex-green-soft);
    border-color: #bdd9c3;
    color: var(--ex-green);
}
[data-ve-layout-editor] .z4-ve-slot-state.is-reserved {
    background: #fff6df;
    border-color: #ead19b;
    color: #765109;
}
[data-ve-layout-editor] .z4-ve-slot-state.is-disabled { background: #f2f0ef; color: #645d5a; }
[data-ve-layout-editor] .z4-ve-slot-form-footer {
    align-items: center;
    border-top: 1px solid #eee5e2;
    display: flex;
    gap: 14px;
    justify-content: space-between;
    margin-top: 2px;
    padding-top: 14px;
}
[data-ve-layout-editor] .z4-ve-checkbox {
    align-items: center;
    color: var(--ex-ink);
    cursor: pointer;
    display: inline-flex !important;
    flex-direction: row;
    font-size: 12px;
    font-weight: 750;
    gap: 8px;
    justify-content: flex-start;
    min-width: 0;
    width: auto;
}
[data-ve-layout-editor] .z4-ve-checkbox input[type="checkbox"] {
    accent-color: var(--ex-brand);
    appearance: auto;
    flex: 0 0 18px;
    height: 18px;
    margin: 0;
    min-height: 18px !important;
    padding: 0;
    width: 18px !important;
}
[data-ve-layout-editor] .z4-ve-slot-form-footer .z4-exhibitions-button {
    background: var(--ex-brand) !important;
    border: 1px solid var(--ex-brand) !important;
    color: #fff !important;
    justify-self: auto;
    min-height: 42px;
    padding: 10px 16px;
}
[data-ve-layout-editor] .z4-ve-remove-form {
    border-top: 1px solid #eee5e2;
    display: flex !important;
    justify-content: flex-end;
    margin: 0 !important;
    padding: 12px 20px 18px;
}
[data-ve-layout-editor] .z4-ve-remove-form > .z4-exhibitions-button.is-danger {
    background: #fff !important;
    border: 1px solid #d9a7a2 !important;
    color: #9a1812 !important;
    min-height: 40px;
    padding: 9px 14px;
}
[data-ve-layout-editor] .z4-ve-remove-form > .z4-exhibitions-button.is-danger:hover,
[data-ve-layout-editor] .z4-ve-remove-form > .z4-exhibitions-button.is-danger:focus-visible {
    background: #fff0ef !important;
    border-color: #b42318 !important;
    outline: 0;
}

@media (max-width: 900px) {
    [data-ve-layout-editor] .z4-ve-layout-grid { grid-template-columns: 1fr; }
    [data-ve-layout-editor] .z4-ve-create-slot { position: static; }
}

@media (max-width: 600px) {
    [data-ve-layout-editor] .z4-ve-layout-heading-link { width: 100%; }
    [data-ve-layout-editor] .z4-ve-form { grid-template-columns: 1fr; }
    [data-ve-layout-editor] .z4-ve-form .is-wide,
    [data-ve-layout-editor] .z4-ve-form > header { grid-column: auto; }
    [data-ve-layout-editor] .z4-ve-create-slot__header,
    [data-ve-layout-editor] .z4-ve-slot-card__header { align-items: stretch; flex-direction: column; }
    [data-ve-layout-editor] .z4-ve-create-slot__header p { max-width: none; }
    [data-ve-layout-editor] .z4-ve-slot-state { align-self: flex-start; }
    [data-ve-layout-editor] .z4-ve-slot-form-footer { align-items: stretch; flex-direction: column; }
    [data-ve-layout-editor] .z4-ve-slot-form-footer .z4-exhibitions-button { width: 100%; }
    [data-ve-layout-editor] .z4-ve-remove-form > .z4-exhibitions-button.is-danger { width: 100%; }
}

/* Unified Virtual Exhibition room pipeline */
[data-ve-room-pipeline] .z4-ve-pipeline-steps {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    list-style: none;
    margin: 20px 0 24px;
    padding: 0;
}
[data-ve-room-pipeline] .z4-ve-pipeline-steps li {
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--ex-border);
    border-radius: 14px;
    display: flex;
    gap: 12px;
    min-width: 0;
    padding: 16px;
}
[data-ve-room-pipeline] .z4-ve-pipeline-steps li > span {
    align-items: center;
    background: #f4efed;
    border-radius: 999px;
    color: var(--ex-muted);
    display: inline-flex;
    flex: 0 0 34px;
    font-size: 11px;
    font-weight: 850;
    height: 34px;
    justify-content: center;
}
[data-ve-room-pipeline] .z4-ve-pipeline-steps li.is-current { border-color: var(--ex-brand); box-shadow: 0 0 0 3px var(--ex-brand-soft); }
[data-ve-room-pipeline] .z4-ve-pipeline-steps li.is-current > span { background: var(--ex-brand); color: #fff; }
[data-ve-room-pipeline] .z4-ve-pipeline-steps li.is-complete { border-color: #bdd9c3; }
[data-ve-room-pipeline] .z4-ve-pipeline-steps li.is-complete > span { background: var(--ex-green-soft); color: var(--ex-green); }
[data-ve-room-pipeline] .z4-ve-pipeline-steps small {
    color: var(--ex-brand);
    display: block;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .06em;
    margin-bottom: 4px;
    text-transform: uppercase;
}
[data-ve-room-pipeline] .z4-ve-pipeline-steps h2 { font-size: 15px; line-height: 1.3; margin: 0 0 4px; }
[data-ve-room-pipeline] .z4-ve-pipeline-steps p { color: var(--ex-muted); font-size: 11px; line-height: 1.5; margin: 0; }
[data-ve-room-pipeline] .z4-ve-pipeline-section { margin-bottom: 18px; }
[data-ve-room-pipeline] .z4-ve-pipeline-section__heading {
    align-items: flex-start;
    border-bottom: 1px solid #eee9e7;
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
    padding-bottom: 16px;
}
[data-ve-room-pipeline] .z4-ve-pipeline-section__heading > span {
    background: var(--ex-brand-soft);
    border-radius: 999px;
    color: var(--ex-brand);
    flex: 0 0 auto;
    font-size: 10px;
    font-weight: 850;
    padding: 7px 10px;
    text-transform: uppercase;
}
[data-ve-room-pipeline] .z4-ve-pipeline-section__heading h2 { font-size: 20px; margin: 0 0 5px; }
[data-ve-room-pipeline] .z4-ve-pipeline-section__heading p { color: var(--ex-muted); margin: 0; }
[data-ve-room-pipeline] .z4-ve-checkbox {
    align-items: center;
    align-self: center;
    cursor: pointer;
    display: inline-flex !important;
    flex-direction: row;
    gap: 9px;
    justify-content: flex-start;
    min-width: 0;
    width: fit-content;
}
[data-ve-room-pipeline] form.z4-ve-form label.z4-ve-checkbox > input[type="checkbox"] {
    accent-color: var(--ex-brand);
    appearance: auto !important;
    box-sizing: border-box !important;
    flex: 0 0 18px !important;
    height: 18px !important;
    margin: 0 !important;
    max-height: 18px !important;
    max-width: 18px !important;
    min-height: 18px !important;
    min-width: 18px !important;
    padding: 0 !important;
    width: 18px !important;
}
[data-ve-room-pipeline] .z4-ve-pipeline-stack { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
[data-ve-room-pipeline] .z4-ve-pipeline-checklist { display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; }
[data-ve-room-pipeline] .z4-ve-pipeline-checklist li { color: var(--ex-ink); font-size: 12px; padding-left: 26px; position: relative; }
[data-ve-room-pipeline] .z4-ve-pipeline-checklist li::before {
    align-items: center;
    background: var(--ex-green-soft);
    border-radius: 50%;
    color: var(--ex-green);
    content: "✓";
    display: inline-flex;
    font-size: 10px;
    font-weight: 900;
    height: 18px;
    justify-content: center;
    left: 0;
    position: absolute;
    top: 0;
    width: 18px;
}
[data-ve-room-pipeline] .z4-ve-pipeline-state {
    background: #f7f4f2;
    border-radius: 11px;
    display: grid;
    gap: 3px;
    margin-top: 18px;
    padding: 14px;
}
[data-ve-room-pipeline] .z4-ve-pipeline-state strong { color: var(--ex-brand); font-size: 12px; }
[data-ve-room-pipeline] .z4-ve-pipeline-state span { color: var(--ex-muted); font-size: 11px; }
[data-ve-room-pipeline] .z4-ve-pipeline-state.is-complete { background: var(--ex-green-soft); }
[data-ve-room-pipeline] .z4-ve-pipeline-state.is-complete strong { color: var(--ex-green); }
[data-ve-room-pipeline] .z4-ve-source-summary {
    align-items: start;
    background: linear-gradient(135deg, #f5fbf6, #fff);
    border: 1px solid #bdd9c3;
    border-radius: 14px;
    display: grid;
    gap: 22px;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    padding: 18px;
}
[data-ve-room-pipeline] .z4-ve-source-summary h3 { font-size: 18px; margin: 10px 0 5px; }
[data-ve-room-pipeline] .z4-ve-source-summary p { color: var(--ex-muted); margin: 0; overflow-wrap: anywhere; }
[data-ve-room-pipeline] .z4-ve-source-summary code { font-size: 10px; }
[data-ve-room-pipeline] .z4-ve-source-summary dl {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
}
[data-ve-room-pipeline] .z4-ve-source-summary dl div { min-width: 0; }
[data-ve-room-pipeline] .z4-ve-source-summary dt { color: var(--ex-muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
[data-ve-room-pipeline] .z4-ve-source-summary dd { font-size: 12px; font-weight: 700; margin: 3px 0 0; overflow-wrap: anywhere; }
[data-ve-room-pipeline] .z4-ve-source-summary a { color: var(--ex-brand); }
[data-ve-room-pipeline] .z4-ve-pipeline-disclosure {
    background: #faf8f7;
    border: 1px solid var(--ex-border);
    border-radius: 12px;
    margin-top: 16px;
    padding: 0 16px;
}
[data-ve-room-pipeline] .z4-ve-pipeline-disclosure summary {
    color: var(--ex-brand);
    cursor: pointer;
    font-size: 12px;
    font-weight: 800;
    padding: 14px 0;
}
[data-ve-room-pipeline] .z4-ve-pipeline-disclosure[open] { padding-bottom: 16px; }
[data-ve-room-pipeline] .z4-ve-pipeline-disclosure[open] summary { border-bottom: 1px solid var(--ex-border); margin-bottom: 16px; }
[data-ve-room-pipeline] .z4-ve-pipeline-disclosure p { color: var(--ex-muted); font-size: 11px; line-height: 1.6; }
[data-ve-room-pipeline] .z4-ve-build-files {
    display: grid;
    gap: 6px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    list-style: none;
    margin: 12px 0;
    padding: 0;
}
[data-ve-room-pipeline] .z4-ve-build-files li { background: #fff; border: 1px solid var(--ex-border); border-radius: 8px; min-width: 0; padding: 8px 10px; }
[data-ve-room-pipeline] .z4-ve-build-files code { font-size: 10px; overflow-wrap: anywhere; }
[data-ve-room-pipeline] .z4-ve-build-upload {
    border-top: 1px solid var(--ex-border);
    display: grid;
    gap: 14px;
    margin-top: 18px;
    padding-top: 18px;
}
[data-ve-room-pipeline] .z4-ve-build-upload label { color: var(--ex-ink); display: grid; font-size: 12px; font-weight: 750; gap: 7px; }
[data-ve-room-pipeline] .z4-ve-build-upload input[type="file"] { background: #fff; border: 1px solid var(--ex-border); border-radius: 9px; min-height: 44px; padding: 10px 12px; width: 100%; }
[data-ve-room-pipeline] .z4-ve-build-upload .z4-exhibitions-button { justify-self: start; }
[data-ve-room-pipeline] [data-pipeline-import] form { margin-top: 18px; }
[data-ve-room-pipeline] .z4-ve-pipeline-hash { display: grid; gap: 4px; margin: 14px 0 0; }
[data-ve-room-pipeline] .z4-ve-pipeline-hash span { color: var(--ex-muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
[data-ve-room-pipeline] .z4-ve-pipeline-hash code { font-size: 10px; overflow-wrap: anywhere; }
[data-ve-room-pipeline] .z4-ve-source-list,
[data-ve-room-pipeline] .z4-ve-version-list { display: grid; gap: 0; }
[data-ve-room-pipeline] .z4-ve-source-list article {
    align-items: center;
    border-bottom: 1px solid #eee9e7;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    padding: 12px 0;
}
[data-ve-room-pipeline] .z4-ve-source-list article:first-child { padding-top: 0; }
[data-ve-room-pipeline] .z4-ve-source-list article:last-child { border-bottom: 0; padding-bottom: 0; }
[data-ve-room-pipeline] .z4-ve-source-list article div { display: grid; gap: 3px; min-width: 0; }
[data-ve-room-pipeline] .z4-ve-source-list article span { color: var(--ex-muted); font-size: 10px; }
[data-ve-room-pipeline] .z4-ve-source-list code { color: var(--ex-brand); font-size: 10px; }
[data-ve-room-pipeline] .z4-ve-version-list > .z4-ve-room-row { margin-inline: -22px; }
[data-ve-room-pipeline] .z4-ve-version-list > .z4-ve-room-row:last-child { padding-bottom: 0; }
[data-ve-room-pipeline] .z4-ve-room-row h3 { font-size: 18px; margin: 8px 0 4px; }
[data-ve-room-pipeline] .z4-ve-actions form { margin: 0 !important; }
[data-ve-room-pipeline] .z4-ve-actions .z4-exhibitions-button { min-height: 38px; padding: 9px 12px; width: 100%; }
[data-ve-room-pipeline] .z4-ve-actions .z4-exhibitions-button.is-danger { background: #fff0ef !important; border: 1px solid #e8b9b5 !important; color: #8c1d18 !important; -webkit-text-fill-color: #8c1d18 !important; }
[data-ve-room-pipeline] .z4-ve-actions .z4-exhibitions-button.is-danger:hover,
[data-ve-room-pipeline] .z4-ve-actions .z4-exhibitions-button.is-danger:focus-visible { background: #8c1d18 !important; border-color: #8c1d18 !important; color: #fff !important; -webkit-text-fill-color: #fff !important; }
[data-ve-halls-index] .z4-ve-version-list > .z4-ve-room-row { margin-inline: -22px; }
[data-ve-halls-index] .z4-ve-version-list > .z4-ve-room-row:last-child { padding-bottom: 0; }
[data-ve-halls-index] .z4-ve-room-row h2 { font-size: 18px; margin: 8px 0 4px; }
[data-ve-halls-index] .z4-ve-actions form { margin: 0 !important; }
[data-ve-halls-index] .z4-ve-actions .z4-exhibitions-button { min-height: 38px; padding: 9px 12px; width: 100%; }
[data-ve-halls-index] .z4-ve-actions .z4-exhibitions-button.is-danger { background: #fff0ef !important; border: 1px solid #e8b9b5 !important; color: #8c1d18 !important; -webkit-text-fill-color: #8c1d18 !important; }
[data-ve-halls-index] .z4-ve-actions .z4-exhibitions-button.is-danger:hover,
[data-ve-halls-index] .z4-ve-actions .z4-exhibitions-button.is-danger:focus-visible { background: #8c1d18 !important; border-color: #8c1d18 !important; color: #fff !important; -webkit-text-fill-color: #fff !important; }

@media (max-width: 1050px) {
    [data-ve-room-pipeline] .z4-ve-pipeline-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    [data-ve-room-pipeline] .z4-ve-pipeline-steps { grid-template-columns: 1fr; }
    [data-ve-room-pipeline] .z4-ve-pipeline-section__heading { flex-direction: column; }
    [data-ve-room-pipeline] .z4-ve-source-summary,
    [data-ve-room-pipeline] .z4-ve-source-summary dl,
    [data-ve-room-pipeline] .z4-ve-build-files { grid-template-columns: 1fr; }
    [data-ve-room-pipeline] .z4-ve-version-list > .z4-ve-room-row { margin-inline: -16px; }
    [data-ve-halls-index] .z4-ve-version-list > .z4-ve-room-row { margin-inline: -16px; }
}
