/* CANOPY COMPACT WORKSPACE THEME
   Asset path retained from v26.9.37 for compatibility with the existing shared layout.
   v26.9.43 repairs Seller Payouts and Account Notifications exceptions while
   preserving the approved v26.9.41 layout on the other targeted routes. */

html.canopy-field body.cf-compact-workspace-page .cf-content-frame {
    padding-top: 0 !important;
}

html.canopy-field body.cf-compact-workspace-page
.cf-compact-workspace-header {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .78fr) !important;
    column-gap: clamp(36px, 6vw, 96px) !important;
    align-items: start !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 8px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    grid-column: 1 / -1 !important;
    justify-self: stretch !important;
    align-self: start !important;
}

html.canopy-field body.cf-compact-workspace-page
.cf-compact-workspace-header-left,
html.canopy-field body.cf-compact-workspace-page
.cf-compact-workspace-header-right {
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    align-self: start !important;
}

html.canopy-field body.cf-compact-workspace-page
.cf-compact-workspace-header-left {
    justify-self: start !important;
}

html.canopy-field body.cf-compact-workspace-page
.cf-compact-workspace-header-right {
    justify-self: stretch !important;
    text-align: left !important;
}

html.canopy-field body.cf-compact-workspace-page
.cf-compact-workspace-header-left .cf-page-kicker,
html.canopy-field body.cf-compact-workspace-page
.cf-compact-workspace-header-right .cf-compact-workspace-domain-label {
    display: block !important;
    margin: 0 0 6px !important;
    font-size: 11.52px !important;
}

html.canopy-field body.cf-compact-workspace-page
.cf-compact-workspace-header-right .cf-compact-workspace-domain-label {
    color: #1f6d45 !important;
}

html.canopy-field body.cf-compact-workspace-page
.cf-compact-workspace-header-left h1 {
    margin: 0 !important;
    max-width: none !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
}

html.canopy-field body[data-cf-compact-route="account-notifications"]
.cf-compact-workspace-header-left h1 {
    white-space: nowrap !important;
}

html.canopy-field body.cf-compact-workspace-page
.cf-compact-workspace-header-right .cf-page-description,
html.canopy-field body.cf-compact-workspace-page
.cf-compact-workspace-header-right p {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    max-width: 560px !important;
}

html.canopy-field body.cf-compact-workspace-page
.cf-compact-workspace-section-navigation {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 12px !important;
    grid-column: 1 / -1 !important;
    justify-self: stretch !important;
}

html.canopy-field body.cf-compact-workspace-page
.cf-compact-workspace-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: none !important;
    margin-top: 0 !important;
    margin-bottom: 14px !important;
    padding: 0 !important;
    grid-column: 1 / -1 !important;
    justify-self: stretch !important;
}

html.canopy-field body.cf-compact-workspace-page
.cf-compact-workspace-redundant-context,
html.canopy-field body.cf-compact-workspace-page
.cf-compact-workspace-empty-wrapper,
html.canopy-field body.cf-compact-workspace-page
.cf-compact-workspace-header-copy-empty {
    display: none !important;
}

/* Keep the previously approved Seller Inventory body compaction. */
html.canopy-field body.cf-seller-inventory-compact-page
.inventory-studio {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

html.canopy-field body.cf-seller-inventory-compact-page
.inventory-studio > .studio-metrics {
    margin-top: 0 !important;
    margin-bottom: 14px !important;
}

html.canopy-field body.cf-seller-inventory-compact-page
.inventory-studio > .studio-shell {
    margin-top: 0 !important;
}

/* Seller Payouts has a separate Field payout layout. Keep the compact header above it. */
html.canopy-field body[data-cf-compact-route="seller-payouts"]
.cf-content-frame > .cf-compact-workspace-header,
html.canopy-field body[data-cf-compact-route="seller-payouts"].cf-payout-oversight-page
.cf-content-frame > .cf-compact-workspace-header {
    width: 100% !important;
    max-width: none !important;
    grid-column: 1 / -1 !important;
    margin-bottom: 8px !important;
}

html.canopy-field body[data-cf-compact-route="seller-payouts"]
.cf-payout-layout {
    margin-top: 0 !important;
}

@media (max-width: 899.98px) {
    html.canopy-field body.cf-compact-workspace-page
    .cf-compact-workspace-header {
        grid-template-columns: 1fr !important;
        row-gap: 10px !important;
    }

    html.canopy-field body.cf-compact-workspace-page
    .cf-compact-workspace-header-right {
        justify-self: start !important;
    }

    html.canopy-field body[data-cf-compact-route="account-notifications"]
    .cf-compact-workspace-header-left h1 {
        white-space: normal !important;
    }
}

/* CANOPY SELLER PAYOUTS EXACT COMPACT LAYOUT v26.9.44 */

html.canopy-field body[data-cf-payout-exact="true"]
.cf-payout-exact-header {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .78fr) !important;
    column-gap: clamp(36px, 6vw, 96px) !important;
    align-items: start !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 0 8px !important;
    padding: 0 !important;
    grid-column: 1 / -1 !important;
}

html.canopy-field body[data-cf-payout-exact="true"]
.cf-payout-exact-header-left,
html.canopy-field body[data-cf-payout-exact="true"]
.cf-payout-exact-header-right {
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    align-self: start !important;
}

html.canopy-field body[data-cf-payout-exact="true"]
.cf-payout-exact-header-left {
    justify-self: start !important;
}

html.canopy-field body[data-cf-payout-exact="true"]
.cf-payout-exact-header-right {
    justify-self: stretch !important;
    text-align: left !important;
}

html.canopy-field body[data-cf-payout-exact="true"]
.cf-payout-exact-context,
html.canopy-field body[data-cf-payout-exact="true"]
.cf-payout-exact-domain {
    display: block !important;
    margin: 0 0 6px !important;
}

html.canopy-field body[data-cf-payout-exact="true"]
.cf-payout-exact-header-left h1 {
    margin: 0 !important;
    max-width: none !important;
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
}

html.canopy-field body[data-cf-payout-exact="true"]
.cf-payout-exact-description {
    margin: 0 !important;
    max-width: 560px !important;
}

html.canopy-field body[data-cf-payout-exact="true"]
.cf-payout-exact-nav {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 0 12px !important;
    grid-column: 1 / -1 !important;
}

html.canopy-field body[data-cf-payout-exact="true"]
.cf-payout-exact-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 0 14px !important;
    padding: 0 !important;
    grid-column: 1 / -1 !important;
}

html.canopy-field body[data-cf-payout-exact="true"]
.cf-payout-exact-hide,
html.canopy-field body[data-cf-payout-exact="true"]
.cf-payout-exact-empty {
    display: none !important;
}

html.canopy-field body[data-cf-payout-exact="true"]
.cf-content-frame > .cf-payout-layout {
    margin-top: 0 !important;
}

@media (max-width: 899.98px) {
    html.canopy-field body[data-cf-payout-exact="true"]
    .cf-payout-exact-header {
        grid-template-columns: 1fr !important;
        row-gap: 10px !important;
    }

    html.canopy-field body[data-cf-payout-exact="true"]
    .cf-payout-exact-header-right {
        justify-self: start !important;
    }

    html.canopy-field body[data-cf-payout-exact="true"]
    .cf-payout-exact-header-left h1 {
        white-space: normal !important;
    }
}
