/*
 * alignvu UI v2.1: Align > Datafeed Summary (application/views/dataflow/datafeed_summary.php,
 * js/modules/align/datafeed_summary/). Read-only Panels in a responsive grid: Status and Details side by side where
 * they fit, Downloads and Entity mappings across the width. The entity tree's rules are in css/v21_align_overview.css.
 */

.app-dfs [hidden] {
    display: none !important;
}

.app-dfs {
    padding-bottom: 32px;
}

.app-dfs__body {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

@media (max-width: 1000px) {
    .app-dfs__body {
        grid-template-columns: minmax(0, 1fr);
    }
}

.app-dfs__panel {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.app-dfs__panel--wide {
    grid-column: 1 / -1;
}

.app-dfs .app-dfs__title {
    margin: 0;
    font: 600 15px/22px var(--font-display);
    color: var(--heading-ink);
}

/* field / value pairs: the label in a narrow column, the value wrapping beside it */
.app-dfs__pairs {
    display: grid;
    grid-template-columns: minmax(110px, max-content) minmax(0, 1fr);
    gap: 8px 16px;
    margin: 0;
}

.app-dfs__pair {
    display: contents;
}

.app-dfs__pair dt {
    font: 400 13px/20px var(--font-display);
    color: var(--muted);
}

.app-dfs__pair dd {
    margin: 0;
    font: 400 13px/20px var(--font-display);
    color: var(--body-ink);
    overflow-wrap: anywhere;
}

.app-dfs .app-dfs__sub {
    display: block;
    font: 400 12px/16px var(--font-display);
    color: var(--muted);
}

.app-dfs .app-dfs__link {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: var(--body-ink);
}

.app-dfs .app-dfs__link .av-icon {
    width: 12px;
    height: 12px;
}

.app-dfs .app-dfs__wrap {
    overflow-wrap: anywhere;
}

.app-dfs .app-dfo-tree {
    max-width: 560px;
}

.app-dfs .app-dfs__table td {
    vertical-align: top;
}

/* the page head's name pill holds the pen that opens the datafeed's settings (as Connect's Template Overview) */
.app-connect-title-pill--overview .datafeed-summary-edit {
    width: 22px;
    height: 22px;
    margin: -3px -6px -3px 2px;
}

.app-connect-title-pill--overview .datafeed-summary-edit .av-icon {
    width: 14px;
    height: 14px;
}
