.gateTrafficNav {
    display: flex;
    gap: 24px;
    margin-bottom: 20px;
    border-bottom: 1px solid #e7eaec;
}

.gateMapDialog {
    max-width: 1800px;
    border-radius: 6px;
}

.gateMapDialog .el-dialog__body {
    padding: 12px 20px 0;
}

.gateMapHeading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin-bottom: 12px;
    color: #475569;
}

.gateMapHeading strong {
    color: #26374d;
    overflow-wrap: anywhere;
}

.gateMapHeading > span {
    font-variant-numeric: tabular-nums;
}

.gateMapViewport {
    position: relative;
    height: 67vh;
    min-height: 340px;
    overflow: hidden;
    background: #071426;
    border: 1px solid #dce4ed;
}

.gateMapViewport iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.gateMapFailure {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 24px;
    background: #f5f7fa;
    color: #606266;
    text-align: center;
}

.gateMapFooter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.gateMapFooterActions {
    margin-left: auto;
}

.gateTrafficNav button {
    padding: 12px 2px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: #676a6c;
}

.gateTrafficNav button.active {
    border-color: #1ab394;
    color: #168b76;
    font-weight: 600;
}

.gateTrafficSummary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.gateTrafficMetric {
    min-height: 110px;
    padding: 19px 22px;
    border: 1px solid #e7eaec;
    background: #fff;
}

.gateTrafficMetricLabel {
    color: #777f83;
    font-size: 13px;
}

.gateTrafficMetricValue {
    margin-top: 9px;
    color: #293b43;
    font-size: 30px;
    font-weight: 600;
}

.gateTrafficMetricValue small {
    color: #929b9f;
    font-size: 13px;
    font-weight: normal;
}

.gateTrafficNotice {
    margin-bottom: 20px;
    padding: 10px 14px;
    border-left: 3px solid #1ab394;
    background: #f3f8f7;
    color: #607772;
}

.gateTrafficFilters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 18px;
}

.gateTrafficFilters .el-input {
    width: 180px;
}

.gateTrafficFilters .el-date-editor {
    width: 360px;
    max-width: 100%;
}

.gateTrafficSectionTitle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.gateTrafficSectionTitle span {
    color: #9aa2a6;
    font-size: 12px;
    font-weight: normal;
}

@media (max-width: 767px) {
    .gateTrafficSummary {
        grid-template-columns: 1fr;
    }

    .gateTrafficMetric {
        min-height: 0;
    }

    .gateTrafficFilters .el-input {
        width: 100%;
    }
}
