
.search-tab-row .search-tabs {
    min-width: 0;
}

.search-tab-strip {
    min-width: 0;
    overflow-x: auto;
    background: var(--mud-palette-surface);
    border-radius: var(--mud-default-borderradius);
}

.add-tab-button {
    flex: 0 0 auto;
}

.saved-search-panel {
    width: min(720px, calc(100vw - 32px));
    max-width: 720px;
    padding: 16px;
}

.saved-search-header,
.saved-search-row-main,
.saved-search-section-title {
    display: flex;
    align-items: center;
}

.saved-search-header {
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.saved-search-save-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 12px;
}

.saved-search-finder {
    margin-bottom: 12px;
}

.saved-search-scroll {
    max-height: min(30vh, 300px);
    overflow-y: auto;
    padding-right: 4px;
}

.saved-search-section {
    border-top: 1px solid var(--mud-palette-lines-default);
    padding-top: 12px;
    margin-top: 12px;
}

.saved-search-section:first-child {
    margin-top: 0;
}

.saved-search-section-title {
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.saved-search-section-kicker {
    display: flex;
    align-items: center;
    gap: 8px;
}

.saved-search-list {
    display: grid;
    gap: 4px;
}

.saved-search-row {
    width: 100%;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 8px;
    padding: 7px 10px;
    text-align: left;
    background: var(--mud-palette-surface);
}

.saved-search-row-main {
    justify-content: space-between;
    gap: 12px;
}

.saved-search-row-title {
    min-width: 0;
}

.saved-search-row-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    margin-top: 5px;
}

.card-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
    align-content: start;
}

.activity-count {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
}

.activity-count b {
    min-width: 18px;
    padding: 1px 5px;
    border-radius: 10px;
    text-align: center;
    background: var(--mud-palette-action-default-hover);
    font-size: .72rem;
}

.participant-description { line-height: 1.45; }
.table-activity { white-space: nowrap; }

.insight-card { height: 100%; }
