.tool-sidebar {
    width: 100%;
}

.tool-sidebar__inner {
    position: sticky;
    top: 34px;
    display: grid;
    gap: 22px;
}

.tool-sidebar__brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
    max-width: 260px;
    color: #1d2544;
    text-decoration: none;
}

.tool-sidebar__brand-icon {
    display: block;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 16px;
    object-fit: contain;
}

.tool-sidebar__brand-logo {
    display: block;
    width: auto;
    height: 42px;
    max-width: 176px;
    object-fit: contain;
}

.tool-sidebar__nav {
    display: grid;
    gap: 6px;
}

.tool-sidebar__link {
    position: relative;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
    gap: 11px;
    min-height: 60px;
    padding: 11px 12px;
    border: 1px solid transparent;
    border-radius: 18px;
    color: #1d2544;
    text-decoration: none;
    background: transparent;
    transition: background-color 0.16s ease, border-color 0.16s ease;
}

.tool-sidebar__link:hover {
    background: rgba(255, 255, 255, 0.62);
    border-color: #e7ecf5;
}

.tool-sidebar__link.is-active {
    background: #ffffff;
    border-color: #e1e7f2;
}

.tool-sidebar__link.is-disabled {
    cursor: default;
    opacity: 0.48;
}

.tool-sidebar__link.is-disabled:hover {
    background: transparent;
    border-color: transparent;
}

.tool-sidebar__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: transparent;
    font-size: 30px;
}

.tool-sidebar__link.is-active .tool-sidebar__icon {
    background: transparent;
}

.tool-sidebar__icon-img {
    display: block;
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.tool-sidebar__icon-badge {
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 10px;
    background: linear-gradient(135deg, #367dff, #f24a94 58%, #ffad54);
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1;
}

.tool-sidebar__text {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.tool-sidebar__name {
    overflow: hidden;
    color: #1d2544;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.35;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.tool-sidebar__description {
    overflow: hidden;
    color: #7b8598;
    font-size: 12px;
    line-height: 1.35;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.tool-sidebar__badge {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 3px 6px;
    border-radius: 999px;
    background: #edf2f8;
    color: #7b8598;
    font-size: 10px;
    font-weight: 800;
}

.tool-sidebar__note {
    padding: 0 4px;
    color: #7b8598;
    font-size: 13px;
    line-height: 1.7;
}

@media (max-width: 759px) {
    .tool-sidebar {
        display: none;
    }
}
