.project-tag-filter {
    box-sizing: border-box;
    width: 100%;
    margin-top: 18px;
    border-top: 1px solid #dce6f2;
    border-bottom: 1px solid #dce6f2;
}

.common-list .project-filter-form {
    flex-wrap: wrap;
}

.common-list .project-filter-form > .project-tag-filter {
    flex: 0 0 100%;
}

.uweb-search .project-tag-filter {
    clear: both;
}

.project-tag-filter summary {
    position: relative;
    min-height: 52px;
    padding: 0 4px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #183b68;
    cursor: pointer;
    list-style: none;
}

.project-tag-filter summary::-webkit-details-marker {
    display: none;
}

.project-tag-filter summary .iconfont {
    margin-left: auto;
    color: #52749c;
    transition: transform 180ms ease;
}

.project-tag-filter[open] summary .iconfont {
    transform: rotate(180deg);
}

.project-tag-filter-title {
    font-size: 15px;
    font-weight: 700;
}

.project-tag-filter-summary {
    font-size: 13px;
    color: #66788d;
}

.project-tag-filter-body {
    padding: 2px 4px 18px;
}

.project-tag-filter-group {
    margin: 0;
    padding: 12px 0;
    border: 0;
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 14px;
}

.project-tag-filter-group + .project-tag-filter-group {
    border-top: 1px dashed #dce6f2;
}

.project-tag-filter-group-label {
    padding: 5px 0 0;
    color: #344f70;
    font-size: 13px;
    font-weight: 700;
}

.project-tag-filter-options,
.project-tag-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.project-tag-option {
    min-height: 30px;
    padding: 4px 9px;
    border: 1px solid #d5e0ec;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #43566d;
    background: #fff;
    font-size: 13px;
    line-height: 20px;
    cursor: pointer;
    transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.project-tag-option:hover {
    border-color: #6d9bd0;
    color: #1b5da5;
}

.project-tag-option.is-selected {
    border-color: #317fc8;
    color: #114f8a;
    background: #edf6ff;
}

.project-tag-option input {
    width: 14px;
    height: 14px;
    margin: 0;
    accent-color: #257bdb;
}

.project-tag-filter-actions {
    padding-top: 12px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.project-tag-filter-actions button {
    min-width: 88px;
    height: 34px;
    padding: 0 15px;
    border: 1px solid #257bdb;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
}

.project-tag-apply {
    color: #fff;
    background: #257bdb;
}

.project-tag-clear {
    color: #25547f;
    background: #fff;
}

.project-tag-list-card {
    min-height: 28px;
    margin: 12px 0 8px;
}

.project-list-empty {
    box-sizing: border-box;
    width: 100%;
    padding: 48px 24px;
    border: 1px solid #dce6f2;
    background: #fff;
    text-align: center;
}

.project-list-empty-title {
    color: #29445f;
    font-size: 17px;
    font-weight: 700;
}

.project-list-empty-text {
    margin-top: 8px;
    color: #718197;
    font-size: 13px;
}

.project-tag {
    max-width: 100%;
    min-height: 26px;
    padding: 3px 9px;
    border: 1px solid transparent;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    color: #29445f;
    font-size: 12px;
    line-height: 18px;
    text-decoration: none;
    white-space: normal;
}

.project-tag-domain {
    border-color: #b7d5f3;
    background: #eef6ff;
    color: #175b9b;
}

.project-tag-region {
    border-color: #b9dfd0;
    background: #eff9f5;
    color: #26705b;
}

.project-tag-technology {
    border-color: #ead5a6;
    background: #fff8e9;
    color: #805b13;
}

.project-detail-tags {
    margin: 22px 0 8px;
    padding: 15px 18px;
    border-left: 3px solid #257bdb;
    background: #f5f9fe;
}

.project-detail-tags-title {
    margin-bottom: 10px;
    color: #29445f;
    font-size: 14px;
    font-weight: 700;
}

.project-tag-list-detail .project-tag:hover {
    border-color: #257bdb;
    color: #174f84;
}

.uweb-search-content .project-tag-list-card {
    margin: 8px 0 0;
}

.uweb-search-content li {
    height: auto;
    min-height: 156px;
}

.uweb-search-content li a {
    height: auto;
    min-height: 156px;
}

@media (max-width: 1024px) {
    .project-tag-filter-open .footer-right {
        display: none;
    }

    .project-tag-filter {
        margin-top: 12px;
    }

    .project-tag-filter summary {
        min-height: 46px;
        flex-wrap: wrap;
        gap: 4px 10px;
    }

    .project-tag-filter-summary {
        width: calc(100% - 38px);
    }

    .project-tag-filter summary .iconfont {
        position: absolute;
        right: 18px;
    }

    .project-tag-filter-group {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .project-tag-filter-group-label {
        padding-top: 0;
    }

    .project-tag-filter-options {
        max-height: 176px;
        overflow-y: auto;
    }

    .project-tag-filter-actions {
        justify-content: stretch;
    }

    .project-tag-filter-actions button {
        flex: 1;
    }

    .project-detail-tags {
        margin-top: 16px;
        padding: 13px 14px;
    }

    .project-list-empty {
        padding: 36px 18px;
    }
}
