.sf-actions .sf-apps-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #0b1b36;
    background: #eef4ff;
    border-color: #dbe7f7;
    text-decoration: none;
}

.sf-actions .sf-apps-link:hover {
    color: #1559b0;
    background: #e2edff;
}

.sf-topbar {
    background: #ffffff !important;
}

.sf-brand,
.sf-brand img {
    background: #ffffff !important;
}

.sf-family-card {
    margin-top: 18px;
    border: 1px solid #d9e6f7;
}

.sf-family-form {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto;
    gap: 12px;
    align-items: end;
    margin: 18px 0;
}

.sf-family-form[hidden] {
    display: none !important;
}

.sf-family-form input {
    width: 100%;
    margin-top: 6px;
    padding: 12px;
    border: 1px solid #dce3ec;
    border-radius: 10px;
}

.sf-family-list {
    display: grid;
    gap: 9px;
    margin-bottom: 12px;
}

.sf-family-list > div {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px;
    border-radius: 12px;
    background: #f5f8fc;
}

.sf-family-list > div.active {
    background: #eaf3ff;
    box-shadow: inset 3px 0 0 #2878ff;
}

.sf-family-list span {
    display: grid;
    margin-right: auto;
}

.sf-family-list small {
    color: #68758b;
}

.sf-family-list button {
    border: 0;
    border-radius: 9px;
    padding: 9px 12px;
    background: #e6efff;
    color: #1559b0;
    font-weight: 800;
}

.sf-family-list button.remove {
    color: #b42318;
    background: #fff0ef;
}

.sf-family-upgrade {
    display: grid !important;
    gap: 5px !important;
}

.sf-family-warning {
    color: #9a6700;
    font-weight: 800;
}

@media (max-width: 720px) {
    .sf-actions .sf-apps-link {
        width: 42px;
        padding: 0;
        justify-content: center;
        font-size: 0 !important;
    }

    .sf-actions .sf-apps-link span {
        font-size: 18px;
    }

    .sf-family-form {
        grid-template-columns: 1fr;
    }

    .sf-family-list > div {
        flex-wrap: wrap;
    }
}
