/* CANOPY FIELD SECTION NAVIGATION V21.5.0
   Mirrors the approved Greenhouse horizontal section strip for the other
   primary Field workspaces without changing their page bodies. */

html.canopy-field .cf-section-navigation {
    width: 100%;
    min-width: 0;
    margin: 0 0 16px;
}

html.canopy-field .cf-section-strip-wrap {
    width: 100%;
    min-width: 0;
    border-radius: 12px;
    overflow: hidden;
    border-bottom: 1px solid rgba(18, 69, 56, 0.18);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

html.canopy-field .cf-section-strip {
    display: flex;
    align-items: stretch;
    gap: 0;
    width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

html.canopy-field .cf-section-strip-link {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    min-height: 42px;
    padding: 9px 13px 8px;
    color: #64706b;
    background: transparent;
    border: 0;
    border-radius: 0;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 520;
    line-height: 1.2;
    text-align: left;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

html.canopy-field .cf-section-strip-link + .cf-section-strip-link::before {
    content: "";
    position: absolute;
    left: 0;
    top: 13px;
    bottom: 13px;
    width: 1px;
    background: rgba(18, 69, 56, 0.18);
}

html.canopy-field .cf-section-strip-link::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 0;
    height: 2px;
    border-radius: 999px;
    background: transparent;
}

html.canopy-field .cf-section-strip-link:hover,
html.canopy-field .cf-section-strip-link:focus-visible {
    color: #124538;
    background: rgba(18, 69, 56, 0.045);
    text-decoration: none;
}

html.canopy-field .cf-section-strip-link.is-active,
html.canopy-field .cf-section-strip-link[aria-current="page"] {
    color: #124538;
    font-weight: 700;
}

html.canopy-field .cf-section-strip-link.is-active::after,
html.canopy-field .cf-section-strip-link[aria-current="page"]::after {
    background: #124538;
}

/* The section strip is navigation, never generic Field page content. */
html.canopy-field .cf-section-navigation.cf-unboxed,
html.canopy-field .cf-section-strip-wrap.cf-unboxed,
html.canopy-field .cf-section-strip.cf-unboxed {
    border-radius: 12px !important;
    box-shadow: none !important;
}

/* CANOPY NOTIFICATION BODY ALIGNMENT V21.5.1
   The generic Field ledger enhancer also sees notification cards because they
   contain headings and actions. Its two-column record layout makes the 6px
   severity marker consume the large first column and pushes the actual
   notification content to the right. Restore the notification card's native
   marker/content grid while leaving the generic ledger behavior unchanged
   everywhere else. */
html.canopy-field .notification-inbox .notification-card.cf-record-row {
    grid-template-columns: 6px minmax(0, 1fr) !important;
    align-items: stretch !important;
    gap: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}

html.canopy-field .notification-inbox .notification-card.cf-record-row > .notification-card-marker {
    grid-column: 1;
    width: 6px;
    min-width: 6px;
    align-self: stretch;
}

html.canopy-field .notification-inbox .notification-card.cf-record-row > .notification-card-content {
    grid-column: 2;
    width: 100%;
    min-width: 0;
    justify-self: stretch;
    text-align: left !important;
}

html.canopy-field .notification-inbox .notification-card-content,
html.canopy-field .notification-inbox .notification-card-heading,
html.canopy-field .notification-inbox .notification-card-heading > div,
html.canopy-field .notification-inbox .notification-card-content > p,
html.canopy-field .notification-inbox .notification-card-footer,
html.canopy-field .notification-inbox .notification-card-footer time {
    text-align: left !important;
}

@media (max-width: 759.98px) {
    html.canopy-field .cf-section-navigation {
        margin-bottom: 14px;
    }

    html.canopy-field .cf-section-strip-link {
        min-height: 42px;
        padding-inline: 12px;
    }
}
