html.user-layout-compact .wrap.js-check-wrap .panel,
html.user-layout-compact .wrap.js-check-wrap .alert,
html.user-layout-compact .wrap.js-check-wrap .table-responsive,
html.user-layout-compact .wrap.js-check-wrap .form-control,
html.user-layout-compact .wrap.js-check-wrap .btn {
    max-width: 100%;
}

html.user-layout-compact .wrap.js-check-wrap .station-quick-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

html.user-layout-compact .wrap.js-check-wrap .station-quick-btn {
    flex: 1 1 0;
    min-width: 118px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid #d9e9ff;
    background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
    color: #2f7ef7;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(47,126,247,.08);
    transition: all .2s ease;
}

html.user-layout-compact .wrap.js-check-wrap .station-quick-btn:hover,
html.user-layout-compact .wrap.js-check-wrap .station-quick-btn:focus {
    color: #2067d8;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(47,126,247,.12);
}

html.user-layout-compact .wrap.js-check-wrap .station-quick-btn.is-success {
    border-color: #d9f2e5;
    background: linear-gradient(180deg, #f5fcf8 0%, #ebf9f1 100%);
    color: #19a761;
    box-shadow: 0 8px 20px rgba(25,190,107,.08);
}

html.user-layout-compact .wrap.js-check-wrap .station-quick-btn.is-success:hover,
html.user-layout-compact .wrap.js-check-wrap .station-quick-btn.is-success:focus {
    color: #138a4f;
    box-shadow: 0 12px 24px rgba(25,190,107,.12);
}

html.user-layout-compact .wrap.js-check-wrap .station-prefix-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

html.user-layout-compact .wrap.js-check-wrap .station-prefix-row .form-control {
    flex: 1 1 auto;
    min-width: 0;
}

html.user-layout-compact .wrap.js-check-wrap .station-secondary-btn,
html.user-layout-compact .wrap.js-check-wrap .station-primary-btn {
    min-height: 42px;
    border-radius: 12px;
    font-weight: 600;
}

html.user-layout-compact .wrap.js-check-wrap .station-primary-btn {
    min-width: 160px;
    box-shadow: 0 10px 22px rgba(25,190,107,.18);
}

html.user-layout-compact .wrap.js-check-wrap .station-data-table {
    width: 100%;
    margin-bottom: 0;
}

html.user-layout-compact .wrap.js-check-wrap .station-data-table td,
html.user-layout-compact .wrap.js-check-wrap .station-data-table th {
    vertical-align: middle;
}

@media (max-width: 767px) {
    html.user-layout-compact .el-container.is-vertical > .el-container {
        align-items: stretch !important;
    }

    html.user-layout-compact .el-container.is-vertical > .el-container > .el-aside,
    html.user-layout-compact .el-container.is-vertical > .el-container > .el-main {
        width: 100% !important;
    }

    html.user-layout-compact .el-main {
        padding: 12px;
    }

    html.user-layout-compact .wrap.js-check-wrap {
        overflow-x: hidden;
    }

    html.user-layout-compact .wrap.js-check-wrap > .nav.nav-tabs {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        margin-left: 0;
        margin-right: 0;
    }

    html.user-layout-compact .wrap.js-check-wrap > .nav.nav-tabs > li {
        float: none;
        display: block;
    }

    html.user-layout-compact .wrap.js-check-wrap > .nav.nav-tabs > li > a {
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
    }

    html.user-layout-compact .wrap.js-check-wrap > .row,
    html.user-layout-compact .wrap.js-check-wrap .panel-body > .row {
        margin-left: -8px;
        margin-right: -8px;
    }

    html.user-layout-compact .wrap.js-check-wrap > .row > [class*="col-"],
    html.user-layout-compact .wrap.js-check-wrap .panel-body > .row > [class*="col-"] {
        padding-left: 8px;
        padding-right: 8px;
    }

    html.user-layout-compact .wrap.js-check-wrap > .row:first-of-type .panel.panel-default,
    html.user-layout-compact .wrap.js-check-wrap > .row:first-of-type .panel.panel-default .panel-body {
        min-height: 0;
    }

    html.user-layout-compact .wrap.js-check-wrap .panel-heading,
    html.user-layout-compact .wrap.js-check-wrap .panel-body {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    html.user-layout-compact .wrap.js-check-wrap .panel-body {
        padding-top: 16px !important;
        padding-bottom: 16px !important;
    }

    html.user-layout-compact .wrap.js-check-wrap .table-responsive {
        border: 0;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }

    html.user-layout-compact .wrap.js-check-wrap .station-data-table {
        border: 0;
    }

    html.user-layout-compact .wrap.js-check-wrap .station-data-table thead {
        display: none;
    }

    html.user-layout-compact .wrap.js-check-wrap .station-data-table tbody,
    html.user-layout-compact .wrap.js-check-wrap .station-data-table tr,
    html.user-layout-compact .wrap.js-check-wrap .station-data-table td {
        display: block;
        width: 100%;
    }

    html.user-layout-compact .wrap.js-check-wrap .station-data-table tr {
        padding: 12px 14px;
        border-bottom: 1px solid #edf2f7;
        background: #fff;
    }

    html.user-layout-compact .wrap.js-check-wrap .station-data-table tbody tr:last-child {
        border-bottom: 0;
    }

    html.user-layout-compact .wrap.js-check-wrap .station-data-table td {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 12px;
        padding: 8px 0 !important;
        text-align: right;
        border: 0 !important;
        white-space: normal;
        word-break: break-word;
    }

    html.user-layout-compact .wrap.js-check-wrap .station-data-table td::before {
        content: attr(data-label);
        flex: 0 0 84px;
        max-width: 84px;
        color: #8c8c8c;
        font-weight: 600;
        text-align: left;
    }

    html.user-layout-compact .wrap.js-check-wrap .station-data-table td[colspan] {
        display: block;
        text-align: center;
        padding: 20px 0 !important;
    }

    html.user-layout-compact .wrap.js-check-wrap .station-data-table td[colspan]::before {
        display: none;
    }

    html.user-layout-compact .wrap.js-check-wrap .station-prefix-row {
        flex-direction: column;
        align-items: stretch;
    }

    html.user-layout-compact .wrap.js-check-wrap .station-quick-actions {
        gap: 10px;
    }

    html.user-layout-compact .wrap.js-check-wrap .station-quick-btn,
    html.user-layout-compact .wrap.js-check-wrap .station-secondary-btn,
    html.user-layout-compact .wrap.js-check-wrap .station-primary-btn {
        width: 100%;
        min-width: 0;
    }
}
