* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

body {
    background-color: #f0f2f5;
    color: #333;
}

.header {
    padding: 10px 10px 8px 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-left {
    font-weight: bold;
    font-size: 18px;
    color: #4567ea;
}

.header-actions {
    position: relative;
}

.header-actions i {
    font-size: 18px;
    color: #444;
    margin-left: 20px;
    cursor: pointer;
}

.header-actions i:hover {
    color: #4567ea;
}

#main-frame {
    width: 100%;
    height: calc(100vh - 110px);
    border: 0;
    display: block;
}

.bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 50px;
    background: #fff;
    box-shadow: 0 -4px 18px rgba(40, 84, 180, .08);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 100;
    border-radius: 8px 8px 0 0;
}

.bar-item {
    flex: 1;
    text-align: center;
    color: #888;
    font-weight: 500;
    text-decoration: none;
    font-size: 13px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    height: 100%;
    transition: background 0.14s;
    white-space: nowrap;
}

.bar-item i {
    font-size: 18px;
    margin-right: 7px;
    margin-bottom: 0;
}

.bar-item.active,
.bar-item:active {
    background: #e7f1ff;
    color: #2442cf;
    border-radius: 8px;
}

@media (max-width: 500px) {
    .bottom-bar {
        height: 44px;
    }

    #main-frame {
        height: calc(100vh - 94px);
    }

    .bar-item {
        font-size: 14px;
    }
}