.app-home-detail {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.app-home-detail-body {
    overflow-x: hidden;
    overflow-y: auto;
    flex: 1;
    border-left: 1px solid $moft-panel-border-color;
    @extend .moft-scrollable-light;
    .moft-fieldset {
        margin-bottom: 16px !important;
        // padding: 0 8px;
    }
    .moft-fieldset-legend {
        color: $moft-font-highlight !important;
    }
    .moft-fieldset-expanded {
        background-color: #f0f1f2 !important;
    }
}
.app-home-detail-form {
    padding: 8px;
    .ivu-form-item {
        margin-bottom: 8px;
    }
    .moft-divided {
        margin: 4px 0;
    }
    .moft-divided-title {
        color: $moft-font-highlight !important;
        font-size: 16px !important;
    }
}
.app-home-detail-body-toolbar {
    margin-bottom: 8px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.app-home-detail-stage-tab.ivu-tabs.ivu-tabs-card {
    >.ivu-tabs-bar .ivu-tabs-tab {
        border-radius: 0;
        background: #fff;
    }
    >.ivu-tabs-bar .ivu-tabs-tab-active {
        border-top: 1px solid #3399ff;
    }
    >.ivu-tabs-bar .ivu-tabs-tab-active:before {
        content: '';
        display: block;
        width: 100%;
        height: 1px;
        background: #3399ff;
        position: absolute;
        top: 0;
        left: 0;
    }
}

.app-home-detail-fieldset-tbar {
    background-color: transparent;
    border-bottom: 1px solid $moft-panel-border-color;
    .common-toolbar-title {
        font-weight: 400;
    }
}
.app-home-detail-fieldset-body {
    background-color: #fff;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
    .app-home-detail-fieldset-body-empty {
        line-height: 24px;
        padding: 16px 0;
        text-align: center;
        color: #666;
    }
}
.app-home-detail-power-list {
    padding: 8px;
    .app-home-detail-power-list-item {
        margin-bottom: 8px;
        border-radius: 4px;
        // border: 1px solid $moft-panel-border-color;
        border-width: 1px 1px 1px 3px;
        border-style: solid;
        border-color: $moft-panel-border-color;
        border-left-color: $base-color;
        &:last-child {
            margin-bottom: 0;
        }
    }
    .app-home-detail-power-list-item-tbar {
        background-color: #eaeaea;
        border-bottom: 1px solid $moft-panel-border-color;
    }
    .app-home-detail-power-list-item-body {
        display: flex;
        background-color: #f5f5f5;
    }
}
.app-home-detail-vehicles-list {
    flex: 1;
    padding: 4px;
    .app-home-detail-vehicles-list-item {
        display: flex;
        align-items: center;
        height: 40px;
        line-height: 40px;
        padding: 0 8px;
        background-color: #fff;
        border-radius: 4px;
        border: 1px solid $moft-panel-border-color;
        .ivu-form-item {
            margin-bottom: 0 !important;
        }
    }
}
.app-home-detail-task-form {
    flex: 1;
    padding: 4px;
    background-color: #f5f5f5;
    border-left: 1px solid #ddd;
}