#panel-retention-execution {
    --retention-border: #dce4ed;
    --retention-muted: #4c6074;
}

#panel-retention-execution .retention-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

#panel-retention-execution h2,
#panel-retention-execution h3 {
    margin: 0;
}

#panel-retention-execution p {
    margin: 6px 0 10px;
    color: var(--retention-muted);
    font-size: 13px;
    line-height: 1.5;
}

#panel-retention-execution [data-tone="attention"] {
    color: #894510;
}

#panel-retention-execution [data-tone="ok"] {
    color: #25643f;
}

#panel-retention-execution .retention-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 145px), 1fr));
    margin: 12px 0;
    padding: 0;
    border: 1px solid var(--retention-border);
    border-radius: 6px;
    background: #f8fafc;
}

#panel-retention-execution .retention-summary div {
    padding: 10px 12px;
}

#panel-retention-execution dt {
    color: var(--retention-muted);
    font-size: 12px;
}

#panel-retention-execution dd {
    margin: 4px 0 0;
    font-size: 17px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

#panel-retention-execution .retention-section {
    min-width: 0;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--retention-border);
}

#panel-retention-execution .excel-container {
    margin-top: 8px;
    overflow: auto;
}

#panel-retention-execution .retention-table {
    width: 100%;
}

#panel-retention-execution .retention-table :is(th, td) {
    min-width: 72px;
}

#panel-retention-execution .retention-table td[data-number] {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

#panel-retention-execution .retention-stage-scroll {
    max-height: 390px;
}

#panel-retention-execution input[type="search"] {
    width: min(210px, 55vw);
}
