.search-shell{
    padding: 36px 0 56px;
    background: #f6f8fb;
    min-height: 60vh;
}

.search-panel{
    max-width: 920px;
    margin: 0 auto 28px;
}

.search-panel__form{
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0 10px 10px;
    border: 1px solid #dbe3ef;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15,23,42,.06);
}

.search-panel__tabs{
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0;
    width: calc(100% + 20px);
    margin: 0 -10px 2px;
    overflow-x: auto;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
    scrollbar-width: none;
}

.search-panel__tabs::-webkit-scrollbar{
    display: none;
}

.search-panel__tab{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 86px;
    min-height: 43px;
    margin: 0;
    padding: 8px 14px;
    border-left: 1px solid #e2e8f0;
    border-bottom: 3px solid transparent;
    background: transparent;
    color: #475569;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.search-panel__tab:last-child{
    border-left: 0;
}

.search-panel__tab input{
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.search-panel__tab.active{
    border-bottom-color: #04b;
    background: #fff;
    color: #04b;
}

.search-panel__input{
    flex: 1;
    min-width: 0;
    height: 50px;
    border: 0;
    outline: 0;
    padding: 0 12px;
    color: #0f172a;
    font-size: 15px;
    background: transparent;
}

.search-panel__input::placeholder{
    color: #8b98aa;
}

.search-panel__button{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 118px;
    height: 50px;
    border: 0;
    border-radius: 6px;
    background: #04b;
    color: #fff;
    font-weight: 800;
}

.search-summary{
    max-width: 920px;
    margin: 0 auto 18px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
}

.search-summary h1{
    margin: 0;
    color: #0f172a;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.7;
}

.search-summary span{
    flex-shrink: 0;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
}

.search-results{
    max-width: 920px;
    margin: 0 auto;
    display: grid;
    gap: 18px;
}

.search-group{
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.search-group__header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid #edf2f7;
    background: #fbfdff;
}

.search-group__header h2{
    margin: 0;
    color: #1e293b;
    font-size: 15px;
    font-weight: 900;
}

.search-group__header span{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 26px;
    padding: 0 8px;
    border-radius: 999px;
    background: #e8eefb;
    color: #04b;
    font-size: 12px;
    font-weight: 800;
}

.search-group__items{
    display: grid;
}

.search-result{
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 5px 12px;
    padding: 15px 16px;
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid #edf2f7;
}

.search-result:last-child{
    border-bottom: 0;
}

.search-result:hover{
    background: #f8fbff;
    text-decoration: none;
}

.search-result strong{
    min-width: 0;
    color: #0f172a;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.8;
}

.search-result small{
    grid-column: 1;
    color: #64748b;
    font-size: 13px;
    line-height: 1.8;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-group__footer{
    padding: 12px 16px;
    border-top: 1px solid #edf2f7;
    background: #fbfdff;
}

.search-group__view-all{
    display: inline-flex;
    align-items: center;
    color: #04b;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.search-group__view-all:hover{
    text-decoration: underline;
}

.search-pagination{
    max-width: 920px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.search-empty{
    max-width: 920px;
    margin: 0 auto;
    padding: 26px 22px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    text-align: center;
}

.search-empty h1,
.search-empty h2{
    margin: 0 0 8px;
    color: #0f172a;
    font-size: 20px;
    font-weight: 900;
}

.search-empty p{
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.9;
}

@media(max-width: 768px){
    .search-shell{
        padding: 22px 0 42px;
    }

    .search-panel__form{
        display: grid;
    }

    .search-panel__tabs{
        width: calc(100% + 20px);
        margin: 0 -10px 0;
    }

    .search-panel__tab{
        min-width: 74px;
        min-height: 40px;
        padding: 8px 10px;
        font-size: 12px;
    }

    .search-panel__button{
        width: 100%;
    }

    .search-summary{
        display: block;
    }

    .search-summary h1{
        font-size: 18px;
    }

    .search-summary span{
        display: block;
        margin-top: 4px;
    }

    .search-result{
        grid-template-columns: 1fr;
    }
}
